public interface ResourceByteRangeProvider
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourceByteRangeProvider.Utilities |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getByteRange(long rangeStart,
long rangeEnd,
java.io.File workingDirectory)
A method to obtain bytes in the inclusive range [start, end] as a file
|
long |
getResourceSize()
A method that returns the size in bytes of the underlying resource
|
long getResourceSize()
java.io.File getByteRange(long rangeStart,
long rangeEnd,
java.io.File workingDirectory)
throws java.io.IOException
rangeStart - zero indexed inclusive start offset; ranges from 0 through (resourceSize -1) both includedrangeEnd - zero indexed inclusive end offset; ranges from 0 through (resourceSize -1) both includedworkingDirectory - the working directory where the output file is placedjava.io.IOException - - any I/O related error will be exposed through an IOException