public class SaRMIInputStreamSeekable extends SaRMIInputStream
SaRMIInputStream
that adds the possibility to seek on the stream.bufferPointer, bufferSize, byteBuffer, closed, curRevision, docElement, docHdoc, handle, started
Constructor and Description |
---|
SaRMIInputStreamSeekable(String hdoc,
boolean currentRevision,
int elementNumber,
boolean withAnnotations,
SaRMIClientCommand connector,
Object monitor)
Constructs the
SaRMIInputStreamSeekable instance which represents
the input stream of the document (will be returned from the Saperion
backend). |
SaRMIInputStreamSeekable(String hdoc,
boolean currentRevision,
int elementNumber,
SaRMIClientCommand connector,
boolean dummy,
Object monitor)
Constructs the
SaRMIInputStreamSeekable instance which represents
the input stream of the document (will be returned from the Saperion
backend). |
SaRMIInputStreamSeekable(String hdoc,
boolean currentRevision,
int elementNumber,
SaRMIClientCommand connector,
Object monitor)
Constructs the
SaRMIInputStreamSeekable instance which represents
the input stream of the document (will be returned from the Saperion
backend). |
Modifier and Type | Method and Description |
---|---|
void |
seek(long offset) |
available, close, getDocElement, getDocHdoc, getFileName, isCurrentRevision, isDummy, isWithAnnotations, markSupported, read, readDocumentFirst, reset, setFileName
mark, read, read, skip
public SaRMIInputStreamSeekable(String hdoc, boolean currentRevision, int elementNumber, SaRMIClientCommand connector, Object monitor)
SaRMIInputStreamSeekable
instance which represents
the input stream of the document (will be returned from the Saperion
backend).hdoc
- Document HDOCcurrentRevision
- flag indicating that the current revision of the document
should be retrieved by resolving hdocelementNumber
- number of the structure-element to read fromconnector
- the rmi-client connector used to read data from the archivemonitor
- a ClassicConnector instance used to synchronize calls on the connectorpublic SaRMIInputStreamSeekable(String hdoc, boolean currentRevision, int elementNumber, boolean withAnnotations, SaRMIClientCommand connector, Object monitor)
SaRMIInputStreamSeekable
instance which represents
the input stream of the document (will be returned from the Saperion
backend).hdoc
- Document HDOCcurrentRevision
- flag indicating that the current revision of the document
should be retrieved by resolving hdocelementNumber
- number of the structure-element to read fromwithAnnotations
- if true, annotations will be saved on the document streamconnector
- the rmi-client connector used to read data from the archivemonitor
- a ClassicConnector instance used to synchronize calls on the connectorpublic SaRMIInputStreamSeekable(String hdoc, boolean currentRevision, int elementNumber, SaRMIClientCommand connector, boolean dummy, Object monitor)
SaRMIInputStreamSeekable
instance which represents
the input stream of the document (will be returned from the Saperion
backend).hdoc
- Document HDOCcurrentRevision
- flag indicating that the current revision of the document
should be retrieved by resolving hdocelementNumber
- number of the structure-element to read fromconnector
- the rmi-client connector used to read data from the archivedummy
- if true, no content will be read from the backend. Instead themonitor
- a ClassicConnector instance used to synchronize calls on the connectorpublic void seek(long offset) throws IOException
IOException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.