public interface RandomAccessData
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream()
Returns an
InputStream that can be used to read the underling data. |
long |
getSize()
Returns the size of the data.
|
RandomAccessData |
getSubsection(long offset,
long length)
Returns a new
RandomAccessData for a specific subsection of this data. |
InputStream getInputStream()
InputStream
that can be used to read the underling data. The
caller is responsible close the underlying stream.RandomAccessData getSubsection(long offset, long length)
RandomAccessData
for a specific subsection of this data.offset
- the offset of the subsectionlength
- the length of the subsectionlong getSize()
Copyright © 2013. All rights reserved.