public class MimetypeElement extends Object implements OdsElement
If the file named “META-INF/manifest.xml” contains a manifest:file-entry element whose manifest:full-path attribute has the value "/", then a "mimetype" file shall exist, and the content of the “mimetype” file shall be equal to the value of the manifest:media-type attribute 4.8.10 of that element.
| Modifier and Type | Field and Description |
|---|---|
static String |
DOCUMENT_MIMETYPE |
| Constructor and Description |
|---|
MimetypeElement() |
public static final String DOCUMENT_MIMETYPE
public void write(XMLUtil util, ZipUTF8Writer writer) throws IOException
write in interface OdsElementutil - an util tool to write XML datawriter - the writer to which write the elementIOException - if the element can't be writtenCopyright © 2016–2021. All rights reserved.