#include <AbstractFilterReader.h>
Inheritance diagram for acdk::io::AbstractFilterReader:
API: ACDK
Public Member Functions | |
AbstractFilterReader (IN(RReader) in, IN(acdk::lang::Object) lock=Nil) | |
virtual void | setIn (IN(RReader) reader) |
virtual RReader | getIn () |
virtual RStorage | getStorage () |
Gets the storage reader. | |
virtual int | available () |
returns the number of bytes available in this stream before blocking Some Reader always return 0 | |
virtual void | close () |
closes this Reader. | |
virtual jlong | seek (SeekPos seekrel, jlong seekpos) |
Set stream position in this Reader to given position. | |
virtual jlong | skip (jlong n) |
Move forwart into the stream. | |
virtual int | read () |
read a single byte from stream | |
virtual int | read (IN(RbyteArray) buffer, int offset=0, int len=-1) |
read the len bytes into buffer at offset of the buffer | |
virtual int | read (byte *buffer, int offset, int len) |
virtual void | reset () |
if mark is set, set stream to mark point otherwise to begin of this stream. | |
virtual bool | ready () |
virtual void | mark (int readAheadLimit) |
virtual bool | markSupported () |
virtual RReader | getStorageReader () |
Protected Attributes | |
RReader | _in |
|
|
|
returns the number of bytes available in this stream before blocking Some Reader always return 0
Reimplemented from acdk::io::Reader. Reimplemented in acdk::io::BufferedReader, acdk::io::SubReader, and acdk::vfile::InflaterReader. |
|
closes this Reader. Note: Some Reader must be closed explicitaly Note: Reader implementation must be avare from closing a reader more than one Reimplemented from acdk::io::Reader. Reimplemented in acdk::io::BufferedReader, and acdk::vfile::InflaterReader. |
|
|
|
Gets the storage reader. If this contains an FilterReader instead of a Storage, the storage reader of this filter reader will be returned (recursive). Implements acdk::io::FilterReader. Reimplemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, and acdkx::orb::CDRObjectReader. |
|
Implements acdk::io::FilterReader. Reimplemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, and acdkx::orb::CDRObjectReader. |
|
Reimplemented from acdk::io::Reader. Reimplemented in acdk::io::BufferedReader, acdk::io::LineNumberReader, and acdk::vfile::InflaterReader. |
|
Reimplemented from acdk::io::Reader. Reimplemented in acdk::io::BufferedReader, acdk::io::PushbackReader, and acdk::vfile::InflaterReader. |
|
Reimplemented from acdk::io::AbstractReader. Reimplemented in acdk::io::BinaryObjectReader, acdk::io::BufferedReader, acdk::io::LineNumberReader, acdk::io::PushbackReader, acdk::io::SubReader, acdk::io::TeeReader, acdk::net::TransRateReader, acdk::vfile::InflaterReader, and acdkx::orb::CDRObjectReader. |
|
read the len bytes into buffer at offset of the buffer
Reimplemented from acdk::io::AbstractReader. Reimplemented in acdk::io::BinaryObjectReader, acdk::io::BufferedReader, acdk::io::LineNumberReader, acdk::io::PushbackReader, acdk::io::SubReader, acdk::io::TeeReader, acdk::net::TransRateReader, acdk::vfile::InflaterReader, and acdkx::orb::CDRObjectReader. |
|
read a single byte from stream
Reimplemented from acdk::io::AbstractReader. Reimplemented in acdk::io::BinaryObjectReader, acdk::io::BufferedReader, acdk::io::LineNumberReader, acdk::io::PushbackReader, acdk::io::SubReader, acdk::io::TeeReader, acdk::net::TransRateReader, acdk::vfile::InflaterReader, and acdkx::orb::CDRObjectReader. |
|
Reimplemented from acdk::io::Reader. Reimplemented in acdk::io::BufferedReader, acdk::io::PushbackReader, and acdk::vfile::InflaterReader. |
|
if mark is set, set stream to mark point otherwise to begin of this stream.
Implements acdk::io::AbstractReader. Reimplemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BufferedReader, acdk::io::LineNumberReader, acdk::vfile::InflaterReader, and acdkx::orb::CDRObjectReader. |
|
Set stream position in this Reader to given position.
Reimplemented from acdk::io::AbstractReader. Reimplemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BufferedReader, acdk::vfile::InflaterReader, and acdkx::orb::CDRObjectReader. |
|
Implements acdk::io::FilterReader. Reimplemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, and acdkx::orb::CDRObjectReader. |
|
Move forwart into the stream.
Reimplemented from acdk::io::AbstractReader. Reimplemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BufferedReader, acdk::io::PushbackReader, acdk::io::SubReader, acdk::vfile::InflaterReader, and acdkx::orb::CDRObjectReader. |
|
|