Package writer2latex.api
Interface OutputFile
- All Known Subinterfaces:
Document
- All Known Implementing Classes:
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.-
Method Summary
Modifier and TypeMethodDescriptionReturns the file name of theOutputFile.voidwrite(OutputStream os) Writes theOutputFileto anOutputStream.
-
Method Details
-
write
Writes theOutputFileto anOutputStream.- Parameters:
os-OutputStreamto which the content should be written- Throws:
IOException- if any I/O error occurs
-
getFileName
String getFileName()Returns the file name of theOutputFile. This includes the file extension and may also include a relative path, always using / as separator.- Returns:
- the file name of this
OutputFile
-