Method Summary |
|
public void | close() This will close the underlying COSDocument object. |
public FDFCatalog | getCatalog() This will get the FDF Catalog. |
public COSDocument | getDocument() This will get the low level document. |
public static FDFDocument | load(String filename) This will load a document from a file.
Parameters: filename - The name of the file to load. |
public static FDFDocument | load(File file) This will load a document from a file.
Parameters: file - The name of the file to load. |
public static FDFDocument | load(InputStream input) This will load a document from an input stream.
Parameters: input - The stream that contains the document. |
public static FDFDocument | loadXFDF(String filename) This will load a document from a file.
Parameters: filename - The name of the file to load. |
public static FDFDocument | loadXFDF(File file) This will load a document from a file.
Parameters: file - The name of the file to load. |
public static FDFDocument | loadXFDF(InputStream input) This will load a document from an input stream.
Parameters: input - The stream that contains the document. |
public void | save(File fileName) This will save this document to the filesystem. |
public void | save(String fileName) This will save this document to the filesystem. |
public void | save(OutputStream output) This will save the document to an output stream. |
public void | saveXFDF(File fileName) This will save this document to the filesystem. |
public void | saveXFDF(String fileName) This will save this document to the filesystem. |
public void | saveXFDF(Writer output) This will save the document to an output stream and close the stream. |
public void | setCatalog(FDFCatalog cat) This will set the FDF catalog for this FDF document. |
public void | writeXML(Writer output) This will write this element as an XML document. |