public class FileByteChunkProvider extends ByteChunkProvider
| Constructor and Description |
|---|
FileByteChunkProvider(java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
int |
bytesLeft() |
protected int |
getChunk(byte[] chunk) |
boolean |
isAvailable() |
getOffset, writeChunk, writeChunk, writeChunkspublic FileByteChunkProvider(java.io.File file)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionprotected 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