Package | Description |
---|---|
net.java.truecommons.cio |
Provides generic services for reading and writing
entries in
containers,
e.g. file systems, archive files or I/O buffer pools.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractInputSocket<E extends Entry>
Abstract base class for input sockets.
|
class |
AbstractIoSocket<E extends Entry>
Abstract base class for I/O sockets.
|
class |
AbstractOutputSocket<E extends Entry>
Abstract base class for output sockets.
|
interface |
Container<E extends Entry>
An iterable container for entries.
|
class |
DecoratingContainer<E extends Entry,C extends Container<E>>
An abstract decorator for an entry container.
|
class |
DecoratingEntry<E extends Entry>
An abstract decorator for an entry.
|
class |
DecoratingInputService<E extends Entry>
An abstract decorator for an input service.
|
class |
DecoratingInputSocket<E extends Entry>
An abstract decorator for an input socket.
|
class |
DecoratingOutputService<E extends Entry>
An abstract decorator for an output service.
|
class |
DecoratingOutputSocket<E extends Entry>
An abstract decorator for an output socket.
|
class |
DelegatingInputSocket<E extends Entry>
Delegates all methods to another input socket.
|
class |
DelegatingOutputSocket<E extends Entry>
Delegates all methods to another output socket.
|
interface |
InputService<E extends Entry>
A service for reading entries from this container.
|
interface |
InputSocket<E extends Entry>
A stateless factory for input streams and seekable byte channels
which operate on a target entry.
|
interface |
IoSocket<E extends Entry>
An I/O socket is a stateless factory for I/O streams and channels
which operate on a target entry.
|
interface |
OutputService<E extends Entry>
A service for writing entries to this container.
|
interface |
OutputSocket<E extends Entry>
A stateless factory for output streams and seekable byte channels
which operate on a target entry.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IoBuffer
A releasable I/O entry.
|
interface |
IoEntry<This extends IoEntry<This>>
An entry which provides I/O services.
|
interface |
MutableEntry
Represents a mutable entry in a container.
|
Modifier and Type | Class and Description |
---|---|
class |
DecoratingEntry<E extends Entry>
An abstract decorator for an entry.
|
class |
DecoratingIoBuffer
An abstract decorator for an I/O buffer.
|
class |
MemoryBuffer
An I/O buffer which shares its contents with a
byte buffer.
|
Modifier and Type | Field and Description |
---|---|
protected E |
DecoratingEntry.entry
The nullable decorated entry.
|
Modifier and Type | Method and Description |
---|---|
protected static <E extends Entry> |
AbstractOutputSocket.target(InputSocket<E> peer)
Returns the target of the given nullable peer socket or null.
|
protected static <E extends Entry> |
AbstractInputSocket.target(OutputSocket<E> peer)
Returns the target of the given nullable peer socket or null.
|
Modifier and Type | Method and Description |
---|---|
SeekableByteChannel |
DelegatingOutputSocket.channel(InputSocket<? extends Entry> peer) |
SeekableByteChannel |
AbstractOutputSocket.channel(InputSocket<? extends Entry> peer)
Optional operation: Returns a new seekable byte channel for
writing bytes.
|
SeekableByteChannel |
OutputSocket.channel(InputSocket<? extends Entry> peer)
Optional operation: Returns a new seekable byte channel for
writing bytes.
|
SeekableByteChannel |
DelegatingInputSocket.channel(OutputSocket<? extends Entry> peer) |
SeekableByteChannel |
InputSocket.channel(OutputSocket<? extends Entry> peer)
Optional operation: Returns a new seekable byte channel for
reading bytes.
|
SeekableByteChannel |
AbstractInputSocket.channel(OutputSocket<? extends Entry> peer)
Optional operation: Returns a new seekable byte channel for
reading bytes.
|
OutputStream |
DelegatingOutputSocket.stream(InputSocket<? extends Entry> peer) |
OutputStream |
AbstractOutputSocket.stream(InputSocket<? extends Entry> peer)
Returns a new output stream for writing bytes.
|
OutputStream |
OutputSocket.stream(InputSocket<? extends Entry> peer)
Returns a new output stream for writing bytes.
|
InputStream |
DelegatingInputSocket.stream(OutputSocket<? extends Entry> peer) |
InputStream |
InputSocket.stream(OutputSocket<? extends Entry> peer)
Returns a new input stream for reading bytes.
|
InputStream |
AbstractInputSocket.stream(OutputSocket<? extends Entry> peer)
Returns a new input stream for reading bytes.
|
Copyright © 2012–2016 Schlichtherle IT Services. All rights reserved.