#include <Reader.h>
Inheritance diagram for acdk::io::Reader:
Public Member Functions | |
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. | |
void | closeReader () |
DMI version of close(). | |
virtual jlong | seek (SeekPos seekrel, jlong seekpos)=0 |
Set stream position in this Reader to given position. | |
virtual jlong | skip (jlong n)=0 |
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 | mark (int readAheadLimit) |
virtual bool | markSupported () |
virtual void | reset ()=0 |
if mark is set, set stream to mark point otherwise to begin of this stream. | |
virtual bool | ready () |
RbyteArray | readAll () |
reads until EOF into returned byteArray | |
void | trans (IN(RWriter) out) |
writes reader until EOF into given Writer. | |
virtual RStorage | getReaderStorage () |
virtual RCharReader | getCharReader (IN(acdk::locale::RDecoder) decoder=Nil) |
returns a character reader using standard encoding | |
RString | readAllAsString () |
reads the content as String using standard encoding |
|
returns the number of bytes available in this stream before blocking Some Reader always return 0
Reimplemented in acdk::io::AbstractFilterReader, acdk::io::BufferedReader, acdk::io::ByteBufferReader, acdk::io::BytePtrReader, acdk::io::LittleBytesReader, acdk::io::CharToByteReader, acdk::io::FileReader, acdk::io::JoinedReader, acdk::io::MemReader, acdk::io::SubReader, acdk::lang::Process_PipeReader, acdk::net::srfsys::FilterObjectReader, acdk::net::TCPSocket, acdk::vfile::InflaterReader, and acdk::vfile::zip::ZipFileReader. |
|
closes this Reader. Note: Some Reader must be closed explicitaly Note: Reader implementation must be avare from closing a reader more than one Reimplemented in acdk::io::AbstractFilterReader, acdk::io::BufferedReader, acdk::io::ByteBufferReader, acdk::io::BytePtrReader, acdk::io::FileReader, acdk::io::JoinedReader, acdk::io::MemReader, acdk::io::PipedReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::net::TCPSocket, acdk::vfile::InflaterReader, and acdk::vfile::zip::ZipFileReader. |
|
DMI version of close().
|
|
returns a character reader using standard encoding
|
|
Reimplemented in acdk::io::ByteBufferReader. |
|
|
|
|
|
read a single byte from stream
Reimplemented in acdk::io::AbstractFilterReader, acdk::io::AbstractReader, acdk::io::BinaryObjectReader, acdk::io::BufferedReader, acdk::io::ByteBufferReader, acdk::io::BytePtrReader, acdk::io::LittleBytesReader, acdk::io::CharToByteReader, acdk::io::ConsoleReader, acdk::io::FileReader, acdk::io::JoinedReader, acdk::io::LineNumberReader, acdk::io::MemReader, acdk::io::PipedReader, acdk::io::PushbackReader, acdk::io::RandomAccessFile, acdk::io::SubReader, acdk::io::TeeReader, acdk::lang::Process_PipeReader, acdk::net::srfsys::FilterObjectReader, acdk::net::TCPSocket, acdk::net::TransRateReader, acdk::vfile::InflaterReader, acdk::vfile::zip::ZipFileReader, and acdkx::orb::CDRObjectReader. |
|
reads until EOF into returned byteArray
|
|
reads the content as String using standard encoding
|
|
Reimplemented in acdk::io::AbstractFilterReader, acdk::io::BufferedReader, acdk::io::ConsoleReader, acdk::io::FileReader, acdk::io::JoinedReader, acdk::io::MemReader, acdk::io::PipedReader, acdk::io::PushbackReader, acdk::io::RandomAccessFile, acdk::lang::Process_PipeReader, acdk::net::TCPSocket, acdk::vfile::InflaterReader, and acdk::vfile::zip::ZipFileReader. |
|
if mark is set, set stream to mark point otherwise to begin of this stream.
Implemented in acdk::io::AbstractFilterReader, acdk::io::AbstractObjectReader, acdk::io::AbstractReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BufferedReader, acdk::io::ByteBufferReader, acdk::io::BytePtrReader, acdk::io::LittleBytesReader, acdk::io::CharToByteReader, acdk::io::ConsoleReader, acdk::io::DataReader, acdk::io::FileReader, acdk::io::FilterReader, acdk::io::JoinedReader, acdk::io::LineNumberReader, acdk::io::MemReader, acdk::io::ObjectReader, acdk::io::PipedReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::net::TCPSocket, acdk::vfile::InflaterReader, acdk::vfile::zip::ZipFileReader, and acdkx::orb::CDRObjectReader. |
|
Set stream position in this Reader to given position.
Implemented in acdk::io::AbstractFilterReader, acdk::io::AbstractObjectReader, acdk::io::AbstractReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BufferedReader, acdk::io::ByteBufferReader, acdk::io::BytePtrReader, acdk::io::LittleBytesReader, acdk::io::CharToByteReader, acdk::io::ConsoleReader, acdk::io::DataReader, acdk::io::FileReader, acdk::io::FilterReader, acdk::io::JoinedReader, acdk::io::MemReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::vfile::InflaterReader, acdk::vfile::zip::ZipFileReader, and acdkx::orb::CDRObjectReader. |
|
Move forwart into the stream.
Implemented in acdk::io::AbstractFilterReader, acdk::io::AbstractObjectReader, acdk::io::AbstractReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BufferedReader, acdk::io::ByteBufferReader, acdk::io::BytePtrReader, acdk::io::LittleBytesReader, acdk::io::CharToByteReader, acdk::io::DataReader, acdk::io::FileReader, acdk::io::FilterReader, acdk::io::JoinedReader, acdk::io::MemReader, acdk::io::ObjectReader, acdk::io::PushbackReader, acdk::io::RandomAccessFile, acdk::io::SubReader, acdk::net::srfsys::FilterObjectReader, acdk::net::TCPSocket, acdk::vfile::InflaterReader, acdk::vfile::zip::ZipFileReader, and acdkx::orb::CDRObjectReader. |
|
writes reader until EOF into given Writer. API: Extended |