Package writer2latex.xmerge
Interface Document
-
- All Superinterfaces:
OutputFile
- All Known Implementing Classes:
BibTeXDocument,BinaryGraphicsDocument,DOMDocument,LaTeXDocument,NewDOMDocument,OfficeDocument,XhtmlDocument
public interface Document extends OutputFile
A
Documentrepresents anyDocumentto be converted and the resultingDocumentfrom any conversion.- Author:
- Herbie Ong
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()Returns theDocumentname with no file extension.voidread(java.io.InputStream is)Reads the content from theInputStreaminto theDocument.-
Methods inherited from interface writer2latex.api.OutputFile
getFileName, write
-
-
-
-
Method Detail
-
read
void read(java.io.InputStream is) throws java.io.IOException
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:
java.io.IOException- If any I/O error occurs.
-
getName
java.lang.String getName()
Returns theDocumentname with no file extension.- Returns:
- The
Documentname with no file extension.
-
-