public class StreamImageDCReader extends Object implements DataChannelReader
| Modifier and Type | Field and Description |
|---|---|
static int |
BUF_SIZE |
protected int |
bufferSize |
protected InputStream |
input |
| Constructor and Description |
|---|
StreamImageDCReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Buffer |
read() |
void |
setDataStream(InputStream in) |
public static final int BUF_SIZE
protected int bufferSize
protected InputStream input
public void setDataStream(InputStream in)
setDataStream in interface DataChannelReaderpublic Buffer read() throws IOException
read in interface DataChannelReaderIOExceptionpublic void close()
throws IOException
close in interface DataChannelReaderIOExceptionCopyright © 2016. All rights reserved.