Package org.apache.pdfbox.examples.util
Class ExtractTextByArea
- java.lang.Object
-
- org.apache.pdfbox.examples.util.ExtractTextByArea
-
public final class ExtractTextByArea extends java.lang.ObjectThis is an example on how to extract text from a specific area on the PDF document.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateExtractTextByArea()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)This will print the documents text in a certain area.private static voidusage()This will print the usage for this document.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOExceptionThis will print the documents text in a certain area.- Parameters:
args- The command line arguments.- Throws:
java.io.IOException- If there is an error parsing the document.
-
usage
private static void usage()
This will print the usage for this document.
-
-