Package org.apache.pdfbox.tools
Class ExtractText
- java.lang.Object
-
- org.apache.pdfbox.tools.ExtractText
-
public final class ExtractText extends java.lang.Object
This 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 void
main(java.lang.String[] args)
Infamous main method.void
startExtraction(java.lang.String[] args)
Starts the text extraction.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
Infamous 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.IOException
Starts the text extraction.- Parameters:
args
- the commandline arguments.- Throws:
java.io.IOException
- if there is an error reading the document or extracting the text.
-
-