TrueZIP Driver ZIP 7.0

de.schlichtherle.truezip.fs.archive.zip
Class OdfOutputShop

java.lang.Object
  extended by de.schlichtherle.truezip.entry.DecoratingEntryContainer<E,O>
      extended by de.schlichtherle.truezip.socket.DecoratingOutputShop<AE,OutputShop<AE>>
          extended by de.schlichtherle.truezip.fs.archive.FsMultiplexedArchiveOutputShop<ZipArchiveEntry>
              extended by de.schlichtherle.truezip.fs.archive.zip.OdfOutputShop
All Implemented Interfaces:
EntryContainer<ZipArchiveEntry>, OutputService<ZipArchiveEntry>, OutputShop<ZipArchiveEntry>, Closeable, Iterable<ZipArchiveEntry>

@NotThreadSafe
public class OdfOutputShop
extends FsMultiplexedArchiveOutputShop<ZipArchiveEntry>

Created by OdfDriver to meet the special requirements of OpenDocument Format (ODF) files.

Author:
Christian Schlichtherle

Field Summary
private  boolean mimetype
          Whether we have started to write the mimetype entry or not.
private static String MIMETYPE
          The name of the entry to receive tender, loving care.
 
Fields inherited from class de.schlichtherle.truezip.entry.DecoratingEntryContainer
delegate
 
Constructor Summary
OdfOutputShop(ZipOutputShop delegate, IOPool<?> pool)
          Creates a new OdfOutputShop.
 
Method Summary
 void close()
           
 OutputSocket<ZipArchiveEntry> getOutputSocket(ZipArchiveEntry entry)
           
 boolean isBusy()
           
 
Methods inherited from class de.schlichtherle.truezip.fs.archive.FsMultiplexedArchiveOutputShop
getEntry, getSize, iterator
 
Methods inherited from class de.schlichtherle.truezip.entry.DecoratingEntryContainer
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MIMETYPE

private static final String MIMETYPE
The name of the entry to receive tender, loving care.

See Also:
Constant Field Values

mimetype

private boolean mimetype
Whether we have started to write the mimetype entry or not.

Constructor Detail

OdfOutputShop

public OdfOutputShop(ZipOutputShop delegate,
                     IOPool<?> pool)
Creates a new OdfOutputShop.

Method Detail

getOutputSocket

public OutputSocket<ZipArchiveEntry> getOutputSocket(ZipArchiveEntry entry)
Specified by:
getOutputSocket in interface OutputService<ZipArchiveEntry>
Overrides:
getOutputSocket in class FsMultiplexedArchiveOutputShop<ZipArchiveEntry>

isBusy

public boolean isBusy()
Overrides:
isBusy in class FsMultiplexedArchiveOutputShop<ZipArchiveEntry>

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class FsMultiplexedArchiveOutputShop<ZipArchiveEntry>
Throws:
IOException

TrueZIP Driver ZIP 7.0

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