TrueZIP Driver ZIP 7.1

de.schlichtherle.truezip.fs.archive.zip
Class ZipOutputShop.EntryOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by de.schlichtherle.truezip.io.DecoratingOutputStream
          extended by de.schlichtherle.truezip.fs.archive.zip.ZipOutputShop.EntryOutputStream
All Implemented Interfaces:
Closeable, Flushable
Enclosing class:
ZipOutputShop

private class ZipOutputShop.EntryOutputStream
extends DecoratingOutputStream

This entry output stream writes directly to our subclass. It can only be used if this output stream is not currently busy writing another entry and the entry holds enough information to write the entry header. These preconditions are checked by t.


Field Summary
 
Fields inherited from class de.schlichtherle.truezip.io.DecoratingOutputStream
delegate
 
Constructor Summary
ZipOutputShop.EntryOutputStream(ZipArchiveEntry entry)
           
ZipOutputShop.EntryOutputStream(ZipArchiveEntry entry, boolean deflate)
           
 
Method Summary
 void close()
           
 
Methods inherited from class de.schlichtherle.truezip.io.DecoratingOutputStream
flush, toString, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZipOutputShop.EntryOutputStream

ZipOutputShop.EntryOutputStream(ZipArchiveEntry entry)
                          throws IOException
Throws:
IOException

ZipOutputShop.EntryOutputStream

ZipOutputShop.EntryOutputStream(ZipArchiveEntry entry,
                                boolean deflate)
                          throws IOException
Throws:
IOException
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class DecoratingOutputStream
Throws:
IOException

TrueZIP Driver ZIP 7.1

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