public interface OutputFile
OutputFile
represents a single file in a
ConverterResult
, which is output from a Converter
implementation.Modifier and Type | Method and Description |
---|---|
boolean |
containsMath()
Test whether this document contains mathematical formulas
|
java.lang.String |
getFileName()
Returns the file name of the
OutputFile . |
java.lang.String |
getMIMEType()
Get the MIME type of the
OutputFile . |
boolean |
isMasterDocument()
Test whether this document is part of the main document flow (master documents) or
an auxiliary document
|
void |
write(java.io.OutputStream os)
Writes the
OutputFile to an OutputStream . |
void write(java.io.OutputStream os) throws java.io.IOException
OutputFile
to an OutputStream
.os
- OutputStream
to which the content should be writtenjava.io.IOException
- if any I/O error occursjava.lang.String getFileName()
OutputFile
. This includes
the file extension and may also include a relative path, always using
/ as separator.OutputFile
java.lang.String getMIMEType()
OutputFile
.boolean isMasterDocument()
boolean containsMath()