E - The type of the entries.@NotThreadSafe @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public final class DisconnectingInputShop<E extends Entry> extends DecoratingInputShop<E,InputShop<E>>
DisconnectingOutputShop| Modifier and Type | Class and Description |
|---|---|
private class |
DisconnectingInputShop.DisconnectableInputStream |
private class |
DisconnectingInputShop.DisconnectableReadOnlyFile |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
closed |
delegate| Constructor and Description |
|---|
DisconnectingInputShop(InputShop<E> input)
Constructs a disconnecting input shop.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
assertNotClosed() |
void |
close() |
InputSocket<? extends E> |
getInputSocket(String name)
Returns an input socket for reading from the entry with the given name.
|
getEntry, getSize, iterator, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntry, getSize, iteratorprivate void assertNotClosed()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DecoratingInputShop<E extends Entry,InputShop<E extends Entry>>IOExceptionpublic InputSocket<? extends E> getInputSocket(String name)
InputServicegetInputSocket in interface InputService<E extends Entry>getInputSocket in class DecoratingInputShop<E extends Entry,InputShop<E extends Entry>>name - an entry name.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.