public class InputStreamByteChunkProvider extends ByteChunkProvider
CHUNK_SIZE, chunkSize, offset| Constructor | Description |
|---|---|
InputStreamByteChunkProvider(java.io.InputStream is) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
bytesLeft() |
|
void |
close() |
|
protected int |
getChunk(byte[] chunk) |
|
boolean |
isAvailable() |
getOffset, writeChunk, writeChunk, writeChunkspublic InputStreamByteChunkProvider(java.io.InputStream is)
protected int getChunk(byte[] chunk)
throws java.io.IOException
getChunk in class ByteChunkProviderjava.io.IOExceptionpublic int bytesLeft()
bytesLeft in class ByteChunkProviderpublic boolean isAvailable()
isAvailable in class ByteChunkProviderpublic void close()
throws java.io.IOException
close in class ByteChunkProviderjava.io.IOException