Apache log4cxx Version 0.10.0
|
Abstract class for reading from character streams. More...
Inherits ObjectImpl.
Inherited by ByteArrayInputStream, and FileInputStream.
Public Member Functions | |
virtual int | read (ByteBuffer &dst)=0 |
Reads a sequence of bytes into the given buffer. | |
virtual void | close ()=0 |
Closes this input stream and releases any system resources associated with the stream. | |
Protected Member Functions | |
InputStream () | |
virtual | ~InputStream () |
Abstract class for reading from character streams.
InputStream | ( | ) | [protected] |
virtual ~InputStream | ( | ) | [protected, virtual] |
virtual void close | ( | ) | [pure virtual] |
Closes this input stream and releases any system resources associated with the stream.
Implemented in ByteArrayInputStream, and FileInputStream.
virtual int read | ( | ByteBuffer & | dst | ) | [pure virtual] |
Reads a sequence of bytes into the given buffer.
dst | The buffer into which bytes are to be transferred. |
Implemented in ByteArrayInputStream, and FileInputStream.