private final class FsArchiveController.Input extends DelegatingInputSocket<FsArchiveEntry>
| Modifier and Type | Field and Description |
|---|---|
(package private) FsArchiveEntry |
localTarget |
(package private) FsEntryName |
name |
| Constructor and Description |
|---|
FsArchiveController.Input(FsEntryName name) |
| Modifier and Type | Method and Description |
|---|---|
protected InputSocket<? extends FsArchiveEntry> |
getDelegate()
Returns the delegate socket.
|
FsArchiveEntry |
getLocalTarget()
Returns the local target for I/O operations.
|
getBoundSocket, newInputStream, newReadOnlyFile, newSeekableByteChannelbind, getPeerTarget@CheckForNull FsArchiveEntry localTarget
final FsEntryName name
FsArchiveController.Input(FsEntryName name)
protected InputSocket<? extends FsArchiveEntry> getDelegate() throws IOException
DelegatingInputSocketgetDelegate in class DelegatingInputSocket<FsArchiveEntry>IOException - On any I/O failure.public FsArchiveEntry getLocalTarget() throws IOException
IOSocket
Note that this interface contract does not state any other
terms or conditions for the returned object.
In particular, clients need to consider that multiple invocations of
this method could return different objects (e.g. defensive copies) which
may even fail the Object.equals(java.lang.Object) test.
On the other hand, implementations need to consider that clients could
attempt to change the state of the returned object in arbitrary manner.
Consequently, the result of doing so is undefined, too.
In particular, a subsequent I/O operation may not reflect the change
or may even fail.
Sub-interfaces or implementations may add additional terms and
conditions in order to resolve these potential issues.
getLocalTarget in class DelegatingInputSocket<FsArchiveEntry>IOException - On any I/O failure.Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.