TrueZIP Kernel 7.0-rc2

de.schlichtherle.truezip.socket
Class DecoratingInputShop<E extends Entry,I extends InputShop<E>>

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

Field Summary
 
Fields inherited from class de.schlichtherle.truezip.entry.DecoratingEntryContainer
delegate
 
Constructor Summary
protected DecoratingInputShop(I input)
           
 
Method Summary
 void close()
           
 InputSocket<? extends E> getInputSocket(String name)
          Returns an input socket for read 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

DecoratingInputShop

protected DecoratingInputShop(I input)
Method Detail

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

TrueZIP Kernel 7.0-rc2

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