org.apache.pdfbox.examples.util
Class ExtractTextByArea

java.lang.Object
  extended by org.apache.pdfbox.examples.util.ExtractTextByArea

public class ExtractTextByArea
extends Object

This is an example on how to extract text from a specific area on the PDF document. Usage: java org.apache.pdfbox.examples.util.ExtractTextByArea <input-pdf>

Version:
$Revision: 1.2 $
Author:
Ben Litchfield

Method Summary
static void main(String[] args)
          This will print the documents text in a certain area.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws Exception
This will print the documents text in a certain area.

Parameters:
args - The command line arguments.
Throws:
Exception - If there is an error parsing the document.


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.