org.apache.pdfbox
public class ExtractText extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Infamous main method.
|
void |
startExtraction(java.lang.String[] args)
Starts the text extraction.
|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- Command line arguments, should be one and a reference to a file.java.lang.Exception
- If there is an error parsing the document.public void startExtraction(java.lang.String[] args) throws java.lang.Exception
args
- the commandline arguments.java.lang.Exception
- if something went wrong.