writer2latex.api
Interface OutputFile
- Document
- BibTeXDocument, BinaryGraphicsDocument, DOMDocument, LaTeXDocument, NewDOMDocument, OfficeDocument, XhtmlDocument
public interface OutputFile
An OutputFile
represent a single file in a
ConverterResult
, which is output from a Converter
implementation.
String | getFileName() - Returns the file name of the
OutputFile .
|
void | write(OutputStream os) - Writes the
OutputFile to an OutputStream .
|
getFileName
public String getFileName()
Returns the file name of the OutputFile
. This includes
the file extension and may also include a relative path, always using
/ as separator.
- the file name of this
OutputFile
write
public void write(OutputStream os)
throws IOException
Writes the OutputFile
to an OutputStream
.
os
- OutputStream
to which the content should be written