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 |
AbstractOutputSocket<E extends Entry>
Abstract base class for output sockets.
|
class |
DecoratingOutputSocket<E extends Entry>
An abstract decorator for an output socket.
|
class |
DelegatingOutputSocket<E extends Entry>
Delegates all methods to another output socket.
|
Modifier and Type | Field and Description |
---|---|
protected OutputSocket<? extends E> |
DecoratingOutputSocket.socket
The nullable decorated output socket.
|
Modifier and Type | Method and Description |
---|---|
OutputSocket<? extends IoBuffer> |
DecoratingIoBuffer.output() |
OutputSocket<? extends This> |
IoEntry.output()
Returns an output socket for writing this entry.
|
OutputSocket<MemoryBuffer> |
MemoryBuffer.output() |
OutputSocket<E> |
OutputService.output(E entry)
Returns an output socket for writing to the given entry.
|
OutputSocket<E> |
DecoratingOutputService.output(E entry) |
protected OutputSocket<? extends E> |
DecoratingOutputSocket.socket() |
protected abstract OutputSocket<? extends E> |
DelegatingOutputSocket.socket()
Returns the delegate output socket.
|
Modifier and Type | Method and Description |
---|---|
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.
|
SeekableByteChannel |
DelegatingInputSocket.channel(OutputSocket<? extends Entry> peer) |
static void |
IoSockets.copy(InputSocket<?> input,
OutputSocket<?> output)
|
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.
|
InputStream |
DelegatingInputSocket.stream(OutputSocket<? extends Entry> peer) |
protected static <E extends Entry> |
AbstractInputSocket.target(OutputSocket<E> peer)
Returns the target of the given nullable peer socket or null.
|
Constructor and Description |
---|
DecoratingOutputSocket(OutputSocket<? extends E> socket) |
Copyright © 2012–2014 Schlichtherle IT Services. All rights reserved.