de.schlichtherle.truezip.socket
Class DecoratingOutputShop<E extends Entry,O extends OutputShop<E>>
java.lang.Object
de.schlichtherle.truezip.entry.DecoratingEntryContainer<E,O>
de.schlichtherle.truezip.socket.DecoratingOutputShop<E,O>
- Type Parameters:
E - The type of the entries.
- All Implemented Interfaces:
- EntryContainer<E>, OutputService<E>, OutputShop<E>, Closeable, Iterable<E>
- Direct Known Subclasses:
- ConcurrentOutputShop, FsMultiplexedArchiveOutputShop
public abstract class DecoratingOutputShop<E extends Entry,O extends OutputShop<E>>
- extends DecoratingEntryContainer<E,O>
- implements OutputShop<E>
An abstract decorator for an output shop.
- Author:
- Christian Schlichtherle
- See Also:
DecoratingInputShop
DecoratingOutputShop
protected DecoratingOutputShop(O output)
getOutputSocket
public OutputSocket<? extends E> getOutputSocket(E entry)
- Description copied from interface:
OutputService
- Returns an output socket for write access to the given entry.
- Specified by:
getOutputSocket in interface OutputService<E extends Entry>
- Parameters:
entry - the non-null local target.
- Returns:
- An output socket for writing to 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.