Note that implementations of this interface must ensure that the
close method does not close any underlying stream
that might be shared by multiple instances of SharedInputStream
until all shared instances have been closed.
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: the current positionReturn the current position in the InputStream, as an offset from the beginning of the InputStream. |
| public InputStream | Returns: the new streamthe starting position start, long the ending position + 1 end)Return a new InputStream representing a subset of the data
from this InputStream, starting at |
| getPosition | back to summary |
|---|---|
| public long getPosition() Return the current position in the InputStream, as an offset from the beginning of the InputStream.
| |
| newStream | back to summary |
|---|---|
| public InputStream newStream(long start, long end) Return a new InputStream representing a subset of the data
from this InputStream, starting at
| |