Package writer2latex.xmerge
Interface Document
- All Superinterfaces:
OutputFile
- All Known Implementing Classes:
BibTeXDocument,BinaryGraphicsDocument,DOMDocument,LaTeXDocument,NewDOMDocument,OfficeDocument,XhtmlDocument
A Document represents any Document
to be converted and the resulting Document from any
conversion.
- Author:
- Herbie Ong
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns theDocumentname with no file extension.voidread(InputStream is) Reads the content from theInputStreaminto theDocument.Methods inherited from interface writer2latex.api.OutputFile
getFileName, write
-
Method Details
-
read
Reads the content from the
InputStreaminto theDocument.This method may not be thread-safe. Implementations may or may not synchronize this method. User code (i.e. caller) must make sure that calls to this method are thread-safe.
- Parameters:
is-InputStreamto read in theDocumentcontent.- Throws:
IOException- If any I/O error occurs.
-
getName
String getName()Returns theDocumentname with no file extension.- Returns:
- The
Documentname with no file extension.
-