|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::vfile::zip::ZipFileReader Class Reference#include <ZipFileReader.h>
Inheritance diagram for acdk::vfile::zip::ZipFileReader:
List of all members.
Constructor & Destructor Documentation
acdk::vfile::zip::ZipFileReader::ZipFileReader |
( |
IN(RZipFileImpl) |
zip |
) |
|
|
Member Function Documentation
int acdk::vfile::zip::ZipFileReader::available |
( |
|
) |
[virtual] |
|
|
returns the number of bytes available in this stream before blocking Some Reader always return 0
Reimplemented from acdk::io::Reader. |
void acdk::vfile::zip::ZipFileReader::close |
( |
|
) |
[virtual] |
|
|
closes this Reader.
Note: Some Reader must be closed explicitaly Note: Reader implementation must be avare from closing a reader more than one
Reimplemented from acdk::io::Reader. |
RString acdk::vfile::zip::ZipFileReader::getDeviceName |
( |
|
) |
[virtual] |
|
bool acdk::vfile::zip::ZipFileReader::isReadable |
( |
|
) |
[inline, virtual] |
|
bool acdk::vfile::zip::ZipFileReader::isWriteable |
( |
|
) |
[inline, virtual] |
|
void acdk::vfile::zip::ZipFileReader::mark |
( |
int |
readAheadLimit |
) |
[inline, virtual] |
|
bool acdk::vfile::zip::ZipFileReader::markSupported |
( |
|
) |
[inline, virtual] |
|
int acdk::vfile::zip::ZipFileReader::read |
( |
byte * |
buffer, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
[virtual] |
|
int acdk::vfile::zip::ZipFileReader::read |
( |
IN(RbyteArray) |
buffer, |
|
|
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::Reader. |
int acdk::vfile::zip::ZipFileReader::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::Reader. |
bool acdk::vfile::zip::ZipFileReader::ready |
( |
|
) |
[virtual] |
|
|
- Returns:
- true, if at least 1 byte can be readed from stream
Reimplemented from acdk::io::Reader. |
void acdk::vfile::zip::ZipFileReader::reset |
( |
|
) |
[virtual] |
|
|
if mark is set, set stream to mark point otherwise to begin of this stream.
Implements acdk::io::Reader. |
|
Set stream position in this Reader to given position.
- Returns:
- the absolute position in this stream
Implements acdk::io::Reader. |
jlong acdk::vfile::zip::ZipFileReader::skip |
( |
jlong |
n |
) |
[virtual] |
|
|
Move forwart into the stream.
- Returns:
- how many bytes skipped. May less then input, in case EOS is reached
Implements acdk::io::Reader. |
Member Data Documentation
|
|