InputStream implemented on top of APR file IO.
More...
Inherits log4cxx::helpers::InputStream.
List of all members.
Detailed Description
InputStream implemented on top of APR file IO.
Constructor & Destructor Documentation
Creates a FileInputStream by opening a connection to an actual file, the file named by the path name name in the file system.
- Parameters:
-
filename | The system-dependent file name. |
Creates a FileInputStream by opening a connection to an actual file, the file named by the File object file in the file system.
- Parameters:
-
aFile | The file to be opened for reading. |
Member Function Documentation
virtual void close |
( |
| ) |
[virtual] |
Closes this file input stream and releases any system resources associated with the stream.
Implements InputStream.
Reads a sequence of bytes into the given buffer.
- Parameters:
-
buf | The buffer into which bytes are to be transferred. |
- 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.
Implements InputStream.
The documentation for this class was generated from the following file: