| Modifier and Type | Field and Description |
|---|---|
| private final COSDocument | |
| private final RandomAccessRead | |
| private static final Log |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FDFDocument(COSDocument
The COSDocument that this document wraps. doc)
Deprecated
Use
FDFDocument(COSDocument, RandomAccessRead)
Constructor that uses an existing document. |
| public | FDFDocument(COSDocument
The COSDocument that this document wraps. doc, RandomAccessRead The source that will be closed when this document gets closed, can be null. source)Constructor that uses an existing document. |
| public | FDFDocument(Document
The XML document that contains the XFDF data. doc)This will create an FDF document from an XFDF XML document. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public FDFCatalog | |
| public COSDocument | Returns: The document that this layer sits on top of.This will get the low level document. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public final void | |
| public void |
| document | back to summary |
|---|---|
| private final COSDocument document | |
| fdfSource | back to summary |
|---|---|
| private final RandomAccessRead fdfSource | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| FDFDocument | back to summary |
|---|---|
| public FDFDocument() Constructor, creates a new FDF document. | |
| FDFDocument | back to summary |
|---|---|
| public FDFDocument(COSDocument doc)
Deprecated Constructor that uses an existing document. The COSDocument that is passed in must be valid.
| |
| FDFDocument | back to summary |
|---|---|
| public FDFDocument(COSDocument doc, RandomAccessRead source) Constructor that uses an existing document. The COSDocument that is passed in must be valid.
| |
| FDFDocument | back to summary |
|---|---|
| public FDFDocument(Document doc) throws IOException This will create an FDF document from an XFDF XML document.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. This will close the underlying COSDocument object.
| |
| getCatalog | back to summary |
|---|---|
| public FDFCatalog getCatalog() This will get the FDF Catalog. This is guaranteed to not return null.
| |
| getDocument | back to summary |
|---|---|
| public COSDocument getDocument() This will get the low level document.
| |
| save | back to summary |
|---|---|
| public void save(File fileName) throws IOException This will save this document to the filesystem.
| |
| save | back to summary |
|---|---|
| public void save(String fileName) throws IOException This will save this document to the filesystem.
| |
| save | back to summary |
|---|---|
| public void save(OutputStream output) throws IOException This will save the document to an output stream.
| |
| saveXFDF | back to summary |
|---|---|
| public void saveXFDF(File fileName) throws IOException This will save this document to the filesystem.
| |
| saveXFDF | back to summary |
|---|---|
| public void saveXFDF(String fileName) throws IOException This will save this document to the filesystem.
| |
| saveXFDF | back to summary |
|---|---|
| public void saveXFDF(Writer output) throws IOException This will save the document to an output stream and close the stream.
| |
| setCatalog | back to summary |
|---|---|
| public final void setCatalog(FDFCatalog cat) This will set the FDF catalog for this FDF document.
| |
| writeXML | back to summary |
|---|---|
| public void writeXML(Writer output) throws IOException This will write this element as an XML document.
| |