TrueZIP Kernel 7.0-rc2

de.schlichtherle.truezip.socket
Interface OutputService<E extends Entry>

Type Parameters:
E - The type of the entries.
All Superinterfaces:
EntryContainer<E>, Iterable<E>
All Known Subinterfaces:
OutputShop<E>
All Known Implementing Classes:
ConcurrentOutputShop, DecoratingOutputShop, FsDefaultArchiveController.Output, FsMultiplexedArchiveOutputShop

public interface OutputService<E extends Entry>
extends EntryContainer<E>

A service for output sockets.

All methods of this interface must reflect all entries, including those which have only been partially written yet, i.e. which have not already received a call to their close() method.

Author:
Christian Schlichtherle
See Also:
InputService

Method Summary
 OutputSocket<? extends E> getOutputSocket(E entry)
          Returns an output socket for write access to the given entry.
 
Methods inherited from interface de.schlichtherle.truezip.entry.EntryContainer
getEntry, getSize, iterator
 

Method Detail

getOutputSocket

@NonNull
OutputSocket<? extends E> getOutputSocket(@NonNull
                                                  E entry)
Returns an output socket for write access to the given entry.

Parameters:
entry - the non-null local target.
Returns:
An output socket for writing to the local target.

TrueZIP Kernel 7.0-rc2

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