Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::io::Writer Class Reference
#include <Writer.h>
Inheritance diagram for acdk::io::Writer:
List of all members.
Detailed Description
Different to JDK a
Writer (an
Reader too) are not classes, but only Interfaces.
The role of java.io.Writer takes AbstractWriter It differs to the java IO-Modell, which is IMHO too confusing.
API: ACDK<br/>
- Author:
- Roger Rene Kommer (mailto:kommer@artefaktur.com)
- Version:
- Revision
- 1.24
- Date:
- Date
- 2005/04/09 19:26:45
- See also:
- Reader
Member Function Documentation
virtual void acdk::io::Writer::close |
( |
|
) |
[pure virtual] |
|
|
Implemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractWriter, acdk::io::BufferedWriter, acdk::io::BytePtrWriter, acdk::io::ByteBufferWriter, acdk::io::ByteBufferAppendWriter, acdk::io::ByteToCharWriter, acdk::io::LittleBytesWriter, acdk::io::ConsoleWriter, acdk::io::FileWriter, acdk::io::MemWriter, acdk::io::NullWriter, acdk::io::OutputDebugStringWriter, acdk::io::PipedWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, acdk::net::srfsys::SRSFileWriter, acdk::net::TCPSocket, and acdk::vfile::DeflateWriter. |
virtual void acdk::io::Writer::flush |
( |
|
) |
[pure virtual] |
|
|
Implemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::AbstractWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::BufferedWriter, acdk::io::BytePtrWriter, acdk::io::ByteBufferWriter, acdk::io::ByteBufferAppendWriter, acdk::io::ByteToCharWriter, acdk::io::LittleBytesWriter, acdk::io::ConsoleWriter, acdk::io::DataWriter, acdk::io::FileWriter, acdk::io::FilterWriter, acdk::io::MemWriter, acdk::io::NullWriter, acdk::io::ObjectWriter, acdk::io::OutputDebugStringWriter, acdk::io::PipedWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, acdk::net::TCPSocket, acdk::vfile::DeflateWriter, and acdkx::orb::CDRObjectWriter. |
|
Get writer from this CharWriter.
- Parameters:
-
encoder | uses the encoding. If Nil uses the System encoder |
|
virtual RStorage acdk::io::Writer::getWriterStorage |
( |
|
) |
[virtual] |
|
virtual void acdk::io::Writer::write |
( |
IN(RbyteArray) |
ch, |
|
|
int |
offset = 0, |
|
|
int |
len = -1 |
|
) |
[virtual] |
|
|
Uses write(byte c) to write bytes.
For performance reason this method should be implemented
Reimplemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::AbstractWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::BinaryObjectWriter, acdk::io::BufferedWriter, acdk::io::BytePtrWriter, acdk::io::ByteBufferWriter, acdk::io::ByteBufferAppendWriter, acdk::io::ByteToCharWriter, acdk::io::LittleBytesWriter, acdk::io::ConsoleWriter, acdk::io::DataWriter, acdk::io::FileWriter, acdk::io::FilterWriter, acdk::io::MemWriter, acdk::io::NullWriter, acdk::io::ObjectWriter, acdk::io::PipedWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, acdk::net::TCPSocket, acdk::net::TransRateWriter, acdk::vfile::DeflateWriter, acdk::xml::XMLObjectWriter, and acdkx::orb::CDRObjectWriter. |
virtual void acdk::io::Writer::write |
( |
byte |
c |
) |
[pure virtual] |
|
|
default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);
Implemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::AbstractWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::BinaryObjectWriter, acdk::io::BufferedWriter, acdk::io::BytePtrWriter, acdk::io::ByteBufferWriter, acdk::io::ByteBufferAppendWriter, acdk::io::ByteToCharWriter, acdk::io::LittleBytesWriter, acdk::io::ConsoleWriter, acdk::io::DataWriter, acdk::io::FileWriter, acdk::io::FilterWriter, acdk::io::MemWriter, acdk::io::NullWriter, acdk::io::ObjectWriter, acdk::io::OutputDebugStringWriter, acdk::io::PipedWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, acdk::net::TCPSocket, acdk::net::TransRateWriter, acdk::vfile::DeflateWriter, and acdkx::orb::CDRObjectWriter. |
virtual void acdk::io::Writer::write |
( |
const byte * |
cstr, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
[virtual] |
|
|
Reimplemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::AbstractWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::BinaryObjectWriter, acdk::io::BufferedWriter, acdk::io::BytePtrWriter, acdk::io::ByteBufferWriter, acdk::io::ByteBufferAppendWriter, acdk::io::ByteToCharWriter, acdk::io::LittleBytesWriter, acdk::io::ConsoleWriter, acdk::io::DataWriter, acdk::io::FileWriter, acdk::io::FilterWriter, acdk::io::MemWriter, acdk::io::NullWriter, acdk::io::ObjectWriter, acdk::io::OutputDebugStringWriter, acdk::io::PipedWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, acdk::net::TCPSocket, acdk::net::TransRateWriter, acdk::vfile::DeflateWriter, and acdkx::orb::CDRObjectWriter. |