| Package | Description |
|---|---|
| de.schlichtherle.truezip.rof |
Provides random read-only access to files (as opposed to the random
read/write access provided by
RandomAccessFile). |
| de.schlichtherle.truezip.socket |
Provides I/O sockets to address and resolve targets for I/O operations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractReadOnlyFile
An abstract read only file which implements the common boilerplate.
|
class |
BufferedReadOnlyFile
A
ReadOnlyFile implementation which provides buffered random read
only access to another ReadOnlyFile. |
class |
ByteArrayReadOnlyFile
A read only file which reads from a byte array provided to its constructor.
|
class |
DecoratingReadOnlyFile
An abstract decorator for a read only file.
|
class |
DefaultReadOnlyFile
A
ReadOnlyFile implementation derived from RandomAccessFile. |
class |
DisconnectingReadOnlyFile
An abstract decorator which protects the decorated read-only-file from all
access unless it's open.
|
class |
IntervalReadOnlyFile
A decorating read only file which is limited to read an interval of its
decorated read only file.
|
class |
LockReadOnlyFile
|
| Modifier and Type | Field and Description |
|---|---|
protected ReadOnlyFile |
DecoratingReadOnlyFile.delegate
The nullable decorated read only file.
|
protected ReadOnlyFile |
ReadOnlyFileInputStream.rof
The underlying
ReadOnlyFile. |
| Constructor and Description |
|---|
BufferedReadOnlyFile(ReadOnlyFile rof)
Constructs a new buffered read only file.
|
BufferedReadOnlyFile(ReadOnlyFile rof,
int bufferSize)
Constructs a new buffered read only file.
|
DecoratingReadOnlyFile(ReadOnlyFile delegate)
Constructs a new decorating read only file.
|
DisconnectingReadOnlyFile(ReadOnlyFile rof) |
IntervalReadOnlyFile(ReadOnlyFile rof,
long length)
Constructs a new interval read only file starting at the current
position of the file pointer in the decorated read only file.
|
IntervalReadOnlyFile(ReadOnlyFile rof,
long offset,
long length)
Constructs a new interval read only file starting at the given position
of the file pointer in the given decorated read only file.
|
LockReadOnlyFile(ReadOnlyFile rof,
Lock lock)
Constructs a new synchronized read only file.
|
ReadOnlyFileInputStream(ReadOnlyFile rof)
Adapts the given
ReadOnlyFile. |
SynchronizedReadOnlyFile(ReadOnlyFile rof)
Deprecated.
This class exists to control concurrent access to a
protected resource, e.g. an
InputShop.
So the lock should never be this object itself. |
SynchronizedReadOnlyFile(ReadOnlyFile rof,
Object lock)
Deprecated.
Constructs a new synchronized read only file.
|
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyFile |
LazyInputSocket.newReadOnlyFile()
Deprecated.
Returns a proxy read only file which acquires its underlying read only
file upon the first read access.
|
abstract ReadOnlyFile |
InputSocket.newReadOnlyFile()
Optional: Returns a new read only file for reading bytes from
the
local target in arbitrary order. |
ReadOnlyFile |
DelegatingInputSocket.newReadOnlyFile() |
ReadOnlyFile |
ClutchInputSocket.newReadOnlyFile() |
Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.