| Modifier and Type | Field and Description |
|---|---|
| private final TTFDataStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| public RandomAccessRead | createSubView(long length)
Overrides org. Creates a view from current position to |
| public long | getCurrentPosition()
Implements abstract org. Get the current position in the stream. |
| public InputStream | getOriginalData()
Implements abstract org. This will get the original data file that was used for this stream. |
| public long | getOriginalDataSize()
Implements abstract org. This will get the original data size that was used for this stream. |
| public int | |
| public int | read(byte[]
The buffer to write to. b, int The offset into the buffer. off, int The length into the buffer. len)Implements abstract org.
|
| public long | |
| public void | seek(long
The position to seek to. pos)Implements abstract org. Seek into the datasource. |
| stream | back to summary |
|---|---|
| private final TTFDataStream stream | |
| TTCDataStream | back to summary |
|---|---|
| pack-priv TTCDataStream(TTFDataStream stream) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| createSubView | back to summary |
|---|---|
| public RandomAccessRead createSubView(long length) Overrides org. Doc from org. Creates a view from current position to
| |
| getCurrentPosition | back to summary |
|---|---|
| public long getCurrentPosition() throws IOException Implements abstract org. Doc from org. Get the current position in the stream.
| |
| getOriginalData | back to summary |
|---|---|
| public InputStream getOriginalData() throws IOException Implements abstract org. Doc from org. This will get the original data file that was used for this stream.
| |
| getOriginalDataSize | back to summary |
|---|---|
| public long getOriginalDataSize() Implements abstract org. Doc from org. This will get the original data size that was used for this stream.
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract org. Doc from org. Read an unsigned byte.
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Implements abstract org.
| |
| readLong | back to summary |
|---|---|
| public long readLong() throws IOException Implements abstract org. Doc from org. Read an unsigned byte.
| |
| seek | back to summary |
|---|---|
| public void seek(long pos) throws IOException Implements abstract org. Doc from org. Seek into the datasource.
| |