LOBStreamControl.
All the read methods are routed to LOBStreamControl.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final LOBStreamControl | |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public InputStream | asInputStream()
Implements org. Returns a reference to self as an |
| public void | close()
Overrides java. Implements java. Closes this input stream and releases any system resources associated with the stream. |
| public long | Returns: The current byte position.Implements org. Returns the current byte position. |
| pack-priv boolean | Returns: if stream is modified since createdChecks if underlying StreamControl has been updated. |
| pack-priv long | |
| public int | Returns: the total number of bytes read into the buffer, or-1 if there is no more data because the end of
the stream has been reached.the buffer into which the data is read. b, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. Reads up to |
| public int | Returns: the next byte of data, or-1 if the end of the
stream is reached.Implements abstract java. Reads the next byte of data from the input stream. |
| pack-priv void | |
| public void | reposition(long
the requested position, starting at requestedPos)0Implements org. Repositions the stream to the requested byte position. |
| closed | back to summary |
|---|---|
| private boolean closed | |
| control | back to summary |
|---|---|
| private final LOBStreamControl control | |
| pos | back to summary |
|---|---|
| private long pos | |
| updateCount | back to summary |
|---|---|
| private long updateCount | |
| LOBInputStream | back to summary |
|---|---|
| pack-priv LOBInputStream(LOBStreamControl control, long position) | |
| asInputStream | back to summary |
|---|---|
| public InputStream asInputStream() Implements org. Doc from org. Returns a reference to self as an
This method is not allowed to return
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Closes this input stream and releases any system resources associated with the stream. The
| |
| getPosition | back to summary |
|---|---|
| public long getPosition() Implements org. Returns the current byte position.
| |
| isObsolete | back to summary |
|---|---|
| pack-priv boolean isObsolete() Checks if underlying StreamControl has been updated.
| |
| length | back to summary |
|---|---|
| pack-priv long length() throws IOException Returns size of stream in bytes.
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Overrides java. Reads up to This method blocks until input data is available, end of file is detected, or an exception is thrown. If If If The first byte read is stored into element In every case, elements If the first byte cannot be read for any reason other than end of
file, then an The
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract java. Reads the next byte of data from the input stream. The value byte is
returned as an A subclass must provide an implementation of this method.
| |
| reInitialize | back to summary |
|---|---|
| pack-priv void reInitialize() Reinitializes the stream and sets the current pointer to zero. | |
| reposition | back to summary |
|---|---|
| public void reposition(long requestedPos) throws IOException Implements org. Repositions the stream to the requested byte position.
| |