TrueUpdate Core 0.1.7

net.java.trueupdate.core.io
Class ZipEntrySink

java.lang.Object
  extended by net.java.trueupdate.core.io.ZipEntrySink
All Implemented Interfaces:
Sink

public final class ZipEntrySink
extends Object
implements Sink

Writes a ZIP entry to a ZIP output stream.

Author:
Christian Schlichtherle
See Also:
ZipEntrySource

Constructor Summary
ZipEntrySink(ZipEntry entry, ZipOutputStream out)
           
 
Method Summary
 boolean directory()
          Returns true if the entry is a directory entry.
 String name()
          Returns the entry name.
 OutputStream output()
          Returns a new output stream for writing the binary data to this sink.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipEntrySink

public ZipEntrySink(ZipEntry entry,
                    ZipOutputStream out)
Method Detail

directory

public boolean directory()
Returns true if the entry is a directory entry.


name

public String name()
Returns the entry name.


output

public OutputStream output()
                    throws IOException
Description copied from interface: Sink
Returns a new output stream for writing the binary data to this sink.

Specified by:
output in interface Sink
Throws:
IOException

TrueUpdate Core 0.1.7

Copyright © 2013 Stimulus Software. All rights reserved.