public class InputStreamByteChunkProvider extends ByteChunkProvider
| Constructor and Description |
|---|
InputStreamByteChunkProvider(java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
int |
bytesLeft() |
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 ByteChunkProvider