Package writer2latex.api
Interface OutputFile
-
- All Known Subinterfaces:
Document
- All Known Implementing Classes:
BibTeXDocument,BinaryGraphicsDocument,DOMDocument,LaTeXDocument,NewDOMDocument,OfficeDocument,XhtmlDocument
public interface OutputFileAnOutputFilerepresent a single file in aConverterResult, which is output from aConverterimplementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetFileName()Returns the file name of theOutputFile.voidwrite(java.io.OutputStream os)Writes theOutputFileto anOutputStream.
-
-
-
Method Detail
-
write
void write(java.io.OutputStream os) throws java.io.IOExceptionWrites theOutputFileto anOutputStream.- Parameters:
os-OutputStreamto which the content should be written- Throws:
java.io.IOException- if any I/O error occurs
-
getFileName
java.lang.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
-
-