Package org.apache.pdfbox.examples.util
Class ExtractTextSimple
java.lang.Object
org.apache.pdfbox.examples.util.ExtractTextSimple
This is a simple text extraction example to get started. For more advanced usage, see the
ExtractTextByArea and the DrawPrintTextLocations examples in this subproject, as well as the
ExtractText tool in the tools subproject.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExtractTextSimple
private ExtractTextSimple()
-
-
Method Details
-
main
This will print the documents text page by page.- Parameters:
args- The command line arguments.- Throws:
IOException- If there is an error parsing or extracting the document.
-
usage
private static void usage()This will print the usage for this document.
-