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 |
DecoratingInputSocket<E extends Entry>
An abstract decorator for an input socket.
|
class |
DelegatingInputSocket<E extends Entry>
Delegates all methods to another input socket.
|
Modifier and Type | Field and Description |
---|---|
protected InputSocket<? extends E> |
DecoratingInputSocket.socket
The nullable decorated input socket.
|
Modifier and Type | Method and Description |
---|---|
InputSocket<MemoryBuffer> |
MemoryBuffer.input() |
InputSocket<? extends This> |
IoEntry.input()
Returns an input socket for reading this entry.
|
InputSocket<? extends IoBuffer> |
DecoratingIoBuffer.input() |
InputSocket<E> |
InputService.input(String name)
Returns an input socket for reading from the entry with the given name.
|
InputSocket<E> |
DecoratingInputService.input(String name) |
protected abstract InputSocket<? extends E> |
DelegatingInputSocket.socket()
Returns the delegate input socket.
|
protected InputSocket<? extends E> |
DecoratingInputSocket.socket() |
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.
|
static void |
IoSockets.copy(InputSocket<?> input,
OutputSocket<?> output)
|
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.
|
protected static <E extends Entry> |
AbstractOutputSocket.target(InputSocket<E> peer)
Returns the target of the given nullable peer socket or null.
|
Constructor and Description |
---|
DecoratingInputSocket(InputSocket<? extends E> socket) |
Copyright © 2012–2016 Schlichtherle IT Services. All rights reserved.