Package org.apache.pdfbox.tools
Class ExtractText
- java.lang.Object
-
- org.apache.pdfbox.tools.ExtractText
-
public final class ExtractText extends java.lang.ObjectThis is the main program that simply parses the pdf document and transforms it into text.- Author:
- Ben Litchfield, Tilman Hausherr
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Infamous main method.voidstartExtraction(java.lang.String[] args)Starts the text extraction.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOExceptionInfamous main method.- Parameters:
args- Command line arguments, should be one and a reference to a file.- Throws:
java.io.IOException- if there is an error reading the document or extracting the text.
-
startExtraction
public void startExtraction(java.lang.String[] args) throws java.io.IOExceptionStarts the text extraction.- Parameters:
args- the commandline arguments.- Throws:
java.io.IOException- if there is an error reading the document or extracting the text.
-
-