E - The type of the local target.@NotThreadSafe public final class LazyInputSocket<E extends Entry> extends DecoratingInputSocket<E>
LazyOutputSocket| Modifier and Type | Class and Description |
|---|---|
private class |
LazyInputSocket.ProxyInputStream |
private class |
LazyInputSocket.ProxyReadOnlyFile |
| Constructor and Description |
|---|
LazyInputSocket(InputSocket<? extends E> input) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
newInputStream()
Returns a proxy input stream which acquires its underlying input
stream upon the first read access.
|
ReadOnlyFile |
newReadOnlyFile()
Returns a proxy read only file which acquires its underlying read only
file upon the first read access.
|
getBoundSocket, getLocalTarget, getPeerTarget, toStringbind, connectpublic LazyInputSocket(@NonNull
InputSocket<? extends E> input)
public ReadOnlyFile newReadOnlyFile()
newReadOnlyFile in class DecoratingInputSocket<E extends Entry>public InputStream newInputStream()
newInputStream in class DecoratingInputSocket<E extends Entry>Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.