de.schlichtherle.truezip.socket
Class DecoratingInputShop<E extends Entry,I extends InputShop<E>>
java.lang.Object
de.schlichtherle.truezip.entry.DecoratingEntryContainer<E,I>
de.schlichtherle.truezip.socket.DecoratingInputShop<E,I>
- Type Parameters:
E - The type of the entries.
- All Implemented Interfaces:
- EntryContainer<E>, InputService<E>, InputShop<E>, Closeable, Iterable<E>
- Direct Known Subclasses:
- ConcurrentInputShop
public abstract class DecoratingInputShop<E extends Entry,I extends InputShop<E>>
- extends DecoratingEntryContainer<E,I>
- implements InputShop<E>
An abstract decorator for an input shop.
- Author:
- Christian Schlichtherle
- See Also:
DecoratingOutputShop
DecoratingInputShop
protected DecoratingInputShop(I input)
getInputSocket
public InputSocket<? extends E> getInputSocket(String name)
- Description copied from interface:
InputService
- Returns an input socket for read access to the given entry.
- Specified by:
getInputSocket in interface InputService<E extends Entry>
- Parameters:
name - a non-null entry name.
- Returns:
- An input socket for reading from the local target.
close
public void close()
throws IOException
- Specified by:
close in interface Closeable
- Throws:
IOException
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.