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 DataChannelReader
public Buffer read() throws IOException
read
in interface DataChannelReader
IOException
public void close() throws IOException
close
in interface DataChannelReader
IOException
Copyright © 2016. All rights reserved.