public class InputChunked extends Input
Constructor and Description |
---|
InputChunked()
Creates an uninitialized InputChunked with a buffer size of 2048.
|
InputChunked(java.io.InputStream inputStream)
Creates an InputChunked with a buffer size of 2048.
|
InputChunked(java.io.InputStream inputStream,
int bufferSize) |
InputChunked(int bufferSize)
Creates an uninitialized InputChunked.
|
Modifier and Type | Method and Description |
---|---|
void |
nextChunks()
Advances the stream to the next set of chunks.
|
void |
rewind()
Sets the position and total to zero.
|
void |
setBuffer(byte[] bytes,
int offset,
int count)
Sets a new buffer.
|
void |
setInputStream(java.io.InputStream inputStream)
Sets a new InputStream.
|
available, canReadInt, canReadLong, close, eof, getBuffer, getInputStream, limit, position, read, read, read, readBoolean, readByte, readBytes, readBytes, readBytes, readByteUnsigned, readChar, readDouble, readDouble, readFloat, readFloat, readInt, readInt, readLong, readLong, readShort, readShortUnsigned, readString, readStringBuilder, setBuffer, setLimit, setPosition, setTotal, skip, skip, total
public InputChunked()
public InputChunked(int bufferSize)
public InputChunked(java.io.InputStream inputStream)
public InputChunked(java.io.InputStream inputStream, int bufferSize)
public void setInputStream(java.io.InputStream inputStream)
Input
setInputStream
in class Input
inputStream
- May be null.public void setBuffer(byte[] bytes, int offset, int count)
Input
public void rewind()
Input
public void nextChunks()