Package org.apache.pdfbox
Class ExtractText
- java.lang.Object
-
- org.apache.pdfbox.ExtractText
-
public class ExtractText extends java.lang.Object
This is the main program that simply parses the pdf document and transforms it into text.- Version:
- $Revision: 1.14 $
- Author:
- Ben Litchfield
-
-
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.lang.Exception
Infamous main method.- Parameters:
args
- Command line arguments, should be one and a reference to a file.- Throws:
java.lang.Exception
- If there is an error parsing the document.
-
startExtraction
public void startExtraction(java.lang.String[] args) throws java.lang.Exception
Starts the text extraction.- Parameters:
args
- the commandline arguments.- Throws:
java.lang.Exception
- if something went wrong.
-
-