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 theDocument
name with no file extension.void
read
(InputStream is) Reads the content from theInputStream
into theDocument
.Methods inherited from interface writer2latex.api.OutputFile
getFileName, write
-
Method Details
-
read
Reads the content from the
InputStream
into 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
-InputStream
to read in theDocument
content.- Throws:
IOException
- If any I/O error occurs.
-
getName
String getName()Returns theDocument
name with no file extension.- Returns:
- The
Document
name with no file extension.
-