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.
|
getDelegate, toStringgetBoundSocket, getLocalTarget, getPeerTarget, newSeekableByteChannelbind, connectpublic LazyInputSocket(@NonNull InputSocket<? extends E> input)
public InputStream newInputStream()
newInputStream in class DelegatingInputSocket<E extends Entry>public ReadOnlyFile newReadOnlyFile()
newReadOnlyFile in class DelegatingInputSocket<E extends Entry>Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.