LibreOffice Module xmerge (master) 1
|
A Document
represents any Document
to be converted and the resulting Document
from any conversion.
More...
Public Member Functions | |
void | write (OutputStream os) throws IOException |
Writes out the Document content to the specified OutputStream . More... | |
void | read (InputStream is) throws IOException |
Reads the content from the InputStream into the Document . More... | |
String | getName () |
Returns the Document name with no file extension. More... | |
String | getFileName () |
Returns the Document name with file extension. More... | |
A Document
represents any Document
to be converted and the resulting Document
from any conversion.
It is created by the PluginFactory
object's createOfficeDocument
method or the createDeviceDocument
method.
Definition at line 36 of file Document.java.
String org.openoffice.xmerge.Document.getFileName | ( | ) |
Returns the Document
name with file extension.
Document
name with file extension. Implemented in org.openoffice.xmerge.converter.dom.DOMDocument, and org.openoffice.xmerge.converter.palm.PalmDocument.
References String.
Referenced by org.openoffice.xmerge.test.Driver.doConversion().
String org.openoffice.xmerge.Document.getName | ( | ) |
Returns the Document
name with no file extension.
Document
name with no file extension. Implemented in org.openoffice.xmerge.converter.dom.DOMDocument, and org.openoffice.xmerge.converter.palm.PalmDocument.
References String.
void org.openoffice.xmerge.Document.read | ( | InputStream | is | ) | throws IOException |
Reads the content from the InputStream
into the Document
.
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.
is | InputStream to read in the Document content. |
IOException | If any I/O error occurs. |
Implemented in org.openoffice.xmerge.converter.dom.DOMDocument, and org.openoffice.xmerge.converter.palm.PalmDocument.
void org.openoffice.xmerge.Document.write | ( | OutputStream | os | ) | throws IOException |
Writes out the Document
content to the specified OutputStream
.
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.
os | OutputStream to write out the Document content. |
IOException | If any I/O error occurs. |
Implemented in org.openoffice.xmerge.converter.dom.DOMDocument, and org.openoffice.xmerge.converter.palm.PalmDocument.
Referenced by XMergeBridge._XMergeBridge.convert(), org.openoffice.xmerge.util.ActiveSyncDriver.Convert(), and org.openoffice.xmerge.test.Driver.doConversion().