Java Doc for FDFDocument.java in  » PDF » PDFBox-0.7.3 » org » pdfbox » pdmodel » fdf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » PDF » PDFBox 0.7.3 » org.pdfbox.pdmodel.fdf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.pdfbox.pdmodel.fdf.FDFDocument

FDFDocument
public class FDFDocument (Code)
This is the in-memory representation of the FDF document. You need to call close() on this object when you are done using it!!
author:
   Ben Litchfield
version:
   $Revision: 1.6 $



Constructor Summary
public  FDFDocument()
     Constructor, creates a new FDF document.
public  FDFDocument(COSDocument doc)
     Constructor that uses an existing document.
public  FDFDocument(Document doc)
     This will create an FDF document from an XFDF XML document.

Method Summary
public  voidclose()
     This will close the underlying COSDocument object.
public  FDFCataloggetCatalog()
     This will get the FDF Catalog.
public  COSDocumentgetDocument()
     This will get the low level document.
public static  FDFDocumentload(String filename)
     This will load a document from a file.
Parameters:
  filename - The name of the file to load.
public static  FDFDocumentload(File file)
     This will load a document from a file.
Parameters:
  file - The name of the file to load.
public static  FDFDocumentload(InputStream input)
     This will load a document from an input stream.
Parameters:
  input - The stream that contains the document.
public static  FDFDocumentloadXFDF(String filename)
     This will load a document from a file.
Parameters:
  filename - The name of the file to load.
public static  FDFDocumentloadXFDF(File file)
     This will load a document from a file.
Parameters:
  file - The name of the file to load.
public static  FDFDocumentloadXFDF(InputStream input)
     This will load a document from an input stream.
Parameters:
  input - The stream that contains the document.
public  voidsave(File fileName)
     This will save this document to the filesystem.
public  voidsave(String fileName)
     This will save this document to the filesystem.
public  voidsave(OutputStream output)
     This will save the document to an output stream.
public  voidsaveXFDF(File fileName)
     This will save this document to the filesystem.
public  voidsaveXFDF(String fileName)
     This will save this document to the filesystem.
public  voidsaveXFDF(Writer output)
     This will save the document to an output stream and close the stream.
public  voidsetCatalog(FDFCatalog cat)
     This will set the FDF catalog for this FDF document.
public  voidwriteXML(Writer output)
     This will write this element as an XML document.


Constructor Detail
FDFDocument
public FDFDocument() throws IOException(Code)
Constructor, creates a new FDF document.
throws:
  IOException - If there is an error creating this document.



FDFDocument
public FDFDocument(COSDocument doc)(Code)
Constructor that uses an existing document. The COSDocument that is passed in must be valid.
Parameters:
  doc - The COSDocument that this document wraps.



FDFDocument
public FDFDocument(Document doc) throws IOException(Code)
This will create an FDF document from an XFDF XML document.
Parameters:
  doc - The XML document that contains the XFDF data.
throws:
  IOException - If there is an error reading from the dom.




Method Detail
close
public void close() throws IOException(Code)
This will close the underlying COSDocument object.
throws:
  IOException - If there is an error releasing resources.



getCatalog
public FDFCatalog getCatalog()(Code)
This will get the FDF Catalog. This is guaranteed to not return null. The documents /Root dictionary



getDocument
public COSDocument getDocument()(Code)
This will get the low level document. The document that this layer sits on top of.



load
public static FDFDocument load(String filename) throws IOException(Code)
This will load a document from a file.
Parameters:
  filename - The name of the file to load. The document that was loaded.
throws:
  IOException - If there is an error reading from the stream.



load
public static FDFDocument load(File file) throws IOException(Code)
This will load a document from a file.
Parameters:
  file - The name of the file to load. The document that was loaded.
throws:
  IOException - If there is an error reading from the stream.



load
public static FDFDocument load(InputStream input) throws IOException(Code)
This will load a document from an input stream.
Parameters:
  input - The stream that contains the document. The document that was loaded.
throws:
  IOException - If there is an error reading from the stream.



loadXFDF
public static FDFDocument loadXFDF(String filename) throws IOException(Code)
This will load a document from a file.
Parameters:
  filename - The name of the file to load. The document that was loaded.
throws:
  IOException - If there is an error reading from the stream.



loadXFDF
public static FDFDocument loadXFDF(File file) throws IOException(Code)
This will load a document from a file.
Parameters:
  file - The name of the file to load. The document that was loaded.
throws:
  IOException - If there is an error reading from the stream.



loadXFDF
public static FDFDocument loadXFDF(InputStream input) throws IOException(Code)
This will load a document from an input stream.
Parameters:
  input - The stream that contains the document. The document that was loaded.
throws:
  IOException - If there is an error reading from the stream.



save
public void save(File fileName) throws IOException, COSVisitorException(Code)
This will save this document to the filesystem.
Parameters:
  fileName - The file to save as.
throws:
  IOException - If there is an error saving the document.
throws:
  COSVisitorException - If an error occurs while generating the data.



save
public void save(String fileName) throws IOException, COSVisitorException(Code)
This will save this document to the filesystem.
Parameters:
  fileName - The file to save as.
throws:
  IOException - If there is an error saving the document.
throws:
  COSVisitorException - If an error occurs while generating the data.



save
public void save(OutputStream output) throws IOException, COSVisitorException(Code)
This will save the document to an output stream.
Parameters:
  output - The stream to write to.
throws:
  IOException - If there is an error writing the document.
throws:
  COSVisitorException - If an error occurs while generating the data.



saveXFDF
public void saveXFDF(File fileName) throws IOException, COSVisitorException(Code)
This will save this document to the filesystem.
Parameters:
  fileName - The file to save as.
throws:
  IOException - If there is an error saving the document.
throws:
  COSVisitorException - If an error occurs while generating the data.



saveXFDF
public void saveXFDF(String fileName) throws IOException, COSVisitorException(Code)
This will save this document to the filesystem.
Parameters:
  fileName - The file to save as.
throws:
  IOException - If there is an error saving the document.
throws:
  COSVisitorException - If an error occurs while generating the data.



saveXFDF
public void saveXFDF(Writer output) throws IOException, COSVisitorException(Code)
This will save the document to an output stream and close the stream.
Parameters:
  output - The stream to write to.
throws:
  IOException - If there is an error writing the document.
throws:
  COSVisitorException - If an error occurs while generating the data.



setCatalog
public void setCatalog(FDFCatalog cat)(Code)
This will set the FDF catalog for this FDF document.
Parameters:
  cat - The FDF catalog.



writeXML
public void writeXML(Writer output) throws IOException(Code)
This will write this element as an XML document.
Parameters:
  output - The stream to write the xml to.
throws:
  IOException - If there is an error writing the XML.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.