@NotThreadSafe public class OdfOutputShop extends MultiplexedOutputShop<ZipDriverEntry>
OdfDriver
to meet the special requirements of
OpenDocument Format (ODF) files.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)
Returns an output socket for writing to the given entry.
|
boolean |
isBusy()
Returns whether the container output archive is busy writing an archive
entry or not.
|
getEntry, getSize, iterator
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
@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 Closeable
close
in interface AutoCloseable
close
in class MultiplexedOutputShop<ZipDriverEntry>
IOException
public OutputSocket<ZipDriverEntry> getOutputSocket(ZipDriverEntry entry)
OutputService
getOutputSocket
in interface OutputService<ZipDriverEntry>
getOutputSocket
in class MultiplexedOutputShop<ZipDriverEntry>
entry
- the entry, which will be the
local target
of the returned
output socket.public boolean isBusy()
MultiplexedOutputShop
isBusy
in class MultiplexedOutputShop<ZipDriverEntry>
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.