TrueZIP Kernel 7.0-rc2

de.schlichtherle.truezip.socket
Class DecoratingOutputShop<E extends Entry,O extends OutputShop<E>>

java.lang.Object
  extended by de.schlichtherle.truezip.entry.DecoratingEntryContainer<E,O>
      extended by 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

Field Summary
 
Fields inherited from class de.schlichtherle.truezip.entry.DecoratingEntryContainer
delegate
 
Constructor Summary
protected DecoratingOutputShop(O output)
           
 
Method Summary
 void close()
           
 OutputSocket<? extends E> getOutputSocket(E entry)
          Returns an output socket for write access to the given entry.
 
Methods inherited from class de.schlichtherle.truezip.entry.DecoratingEntryContainer
getEntry, getSize, iterator, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.schlichtherle.truezip.entry.EntryContainer
getEntry, getSize, iterator
 

Constructor Detail

DecoratingOutputShop

protected DecoratingOutputShop(O output)
Method Detail

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

TrueZIP Kernel 7.0-rc2

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.