public abstract class AbstractRandomAccess extends Object implements IRandomAccess
| Constructor and Description |
|---|
AbstractRandomAccess() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
asInputStream()
A
InputStream view on the data structure. |
OutputStream |
asOutputStream()
A
OutputStream view on the data structure. |
void |
mark()
Mark the current offset into the data in a stack like manner.
|
void |
reset()
Reset to the last position on the mark-stack.
|
public InputStream asInputStream()
IRandomAccessInputStream view on the data structure.asInputStream in interface IRandomAccessInputStream view on the data structure.public OutputStream asOutputStream()
IRandomAccessOutputStream view on the data structure.asOutputStream in interface IRandomAccessOutputStream view on the data structure.public void mark()
throws IOException
IRandomAccessmark in interface IRandomAccessIOExceptionpublic void reset()
throws IOException
IRandomAccessreset in interface IRandomAccessIOExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.