|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::io::BufferedReader Class Reference#include <BufferedReader.h>
Inheritance diagram for acdk::io::BufferedReader:
List of all members.
Detailed Description
Buffers input from a given Reader API: ACDK
- Author:
- Roger Rene Kommer (mailto:kommer@artefaktur.com)
- Version:
- Revision
- 1.13
- Date:
- Date
- 2005/04/09 19:26:44
Constructor & Destructor Documentation
Member Function Documentation
void acdk::io::BufferedReader::_fillBuffer |
( |
|
) |
[private] |
|
virtual int acdk::io::BufferedReader::available |
( |
|
) |
[virtual] |
|
virtual void acdk::io::BufferedReader::close |
( |
|
) |
[inline, virtual] |
|
virtual void acdk::io::BufferedReader::mark |
( |
int |
readlimit |
) |
[virtual] |
|
virtual bool acdk::io::BufferedReader::markSupported |
( |
|
) |
[inline, virtual] |
|
virtual int acdk::io::BufferedReader::read |
( |
byte * |
buffer, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
[inline, virtual] |
|
virtual int acdk::io::BufferedReader::read |
( |
IN(RbyteArray) |
buf, |
|
|
int |
offset = 0, |
|
|
int |
len = -1 |
|
) |
[virtual] |
|
|
read the len bytes into buffer at offset of the buffer
- Parameters:
-
buffer | where to write the bytes |
offset | offset to write into buffer |
len | how many bytes to read. if == -1 read into many bytes, that fits into buffer (buffer->length() - offset) `` |
- Returns:
- number of bytes readed. may less than input if EOS is reached
- Exceptions:
-
EOF | exception, if trying to read behind EOS |
Reimplemented from acdk::io::AbstractFilterReader. |
virtual int acdk::io::BufferedReader::read |
( |
|
) |
[virtual] |
|
|
read a single byte from stream
- Returns:
- the byte readed or -1 if EOS.
- Exceptions:
-
EOF | exception, if trying to read behind EOS |
Reimplemented from acdk::io::AbstractFilterReader. |
virtual bool acdk::io::BufferedReader::ready |
( |
|
) |
[virtual] |
|
virtual void acdk::io::BufferedReader::reset |
( |
|
) |
[virtual] |
|
virtual jlong acdk::io::BufferedReader::seek |
( |
SeekPos |
seekrel, |
|
|
jlong |
seekpos |
|
) |
[inline, virtual] |
|
virtual jlong acdk::io::BufferedReader::skip |
( |
jlong |
num_bytes |
) |
[virtual] |
|
|
Move forwart into the stream.
- Returns:
- how many bytes skipped. May less then input, in case EOS is reached
Reimplemented from acdk::io::AbstractFilterReader. |
Member Data Documentation
|
|