public class PrepareContentFlusher extends Object implements OdsAsyncFlusher
Sent by the first table creation.
| Constructor and Description |
|---|
PrepareContentFlusher(OdsElements odsElements,
ContentElement contentElement)
Create a new meta and styles elements
|
| Modifier and Type | Method and Description |
|---|---|
void |
flushInto(XMLUtil xmlUtil,
ZipUTF8Writer writer) |
boolean |
isEnd() |
public PrepareContentFlusher(OdsElements odsElements, ContentElement contentElement)
odsElements - ods elements (content.xml, styles.xml, ...)contentElement - content.xml elementpublic void flushInto(XMLUtil xmlUtil, ZipUTF8Writer writer) throws IOException
flushInto in interface OdsAsyncFlusherxmlUtil - an instance of the util classwriter - where to write dataIOException - if the flush goes wrongpublic boolean isEnd()
isEnd in interface OdsAsyncFlusherCopyright © 2016–2021. All rights reserved.