org.pdfbox.examples.util
Class RemoveAllText
java.lang.Object
org.pdfbox.examples.util.RemoveAllText
- public class RemoveAllText
- extends Object
This is an example on how to remove all text from PDF document.
Usage: java org.pdfbox.examples.util.RemoveAllText <input-pdf> <output-pdf>
- Version:
- $Revision: 1.2 $
- Author:
- Ben Litchfield
Method Summary |
static void |
main(String[] args)
This will remove all text from a PDF document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String[] args)
throws Exception
- This will remove all text from a PDF document.
- Parameters:
args
- The command line arguments.
- Throws:
Exception
- If there is an error parsing the document.