@NotThreadSafe public class OdfOutputShop extends FsMultiplexedOutputShop<ZipDriverEntry>
OdfDriver to meet the special requirements of
OpenDocument Format (ODF) files.| Modifier and Type | Field and Description |
|---|---|
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.
|
delegate| Constructor and Description |
|---|
OdfOutputShop(ZipOutputShop output,
IOPool<?> pool)
Constructs a new ODF output shop.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
OutputSocket<ZipDriverEntry> |
getOutputSocket(ZipDriverEntry entry) |
boolean |
isBusy() |
getEntry, getSize, iteratortoStringprivate boolean mimetype
private static final String MIMETYPE
@CreatesObligation public OdfOutputShop(@WillCloseWhenClosed ZipOutputShop output, IOPool<?> pool)
output - the decorated output shop.pool - the pool for buffering entry data.public void close()
throws IOException
close in interface OutputShop<ZipDriverEntry>close in interface Closeableclose in interface AutoCloseableclose in class FsMultiplexedOutputShop<ZipDriverEntry>IOExceptionpublic OutputSocket<ZipDriverEntry> getOutputSocket(ZipDriverEntry entry)
getOutputSocket in interface OutputService<ZipDriverEntry>getOutputSocket in class FsMultiplexedOutputShop<ZipDriverEntry>public boolean isBusy()
isBusy in class FsMultiplexedOutputShop<ZipDriverEntry>Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.