public class DataObjectStream extends AbstractStream
| Modifier and Type | Field and Description |
|---|---|
protected ObjectInputStream |
input |
closed, count, id, in, limit, log, prefix, seqId, sequenceKey, urlSOURCE_KEY| Constructor and Description |
|---|
DataObjectStream(InputStream in) |
DataObjectStream(SourceURL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init() |
Data |
readNext() |
getId, getInputStream, getLimit, getPrefix, getSequenceKey, getUrl, read, setId, setLimit, setPrefix, setSequenceKey, setUrlprotected ObjectInputStream input
public DataObjectStream(SourceURL url)
public DataObjectStream(InputStream in)
public void close()
throws Exception
close in interface Sourceclose in class AbstractStreamExceptionSource.close()public void init()
throws Exception
init in interface Sourceinit in class AbstractStreamExceptionSource.init()public Data readNext() throws Exception
readNext in class AbstractStreamExceptionSource.read()Copyright © 2018. All rights reserved.