org.jpedal.examples.text
Class ExtractStructuredText

java.lang.Object
  extended by org.jpedal.examples.text.ExtractStructuredText

public class ExtractStructuredText
extends java.lang.Object

Sample code showing how jpedal library can be used with pdf files to extract structed text from a PDF Debugging tip: Set verbose=true in LogWriter to see what is going on.


Field Summary
static boolean debug
           
static boolean isTest
          used as part of test to limit pages to first 10
static boolean showMessages
          flag to show if we display messages
 
Constructor Summary
ExtractStructuredText()
           
ExtractStructuredText(java.lang.String root, java.lang.String outputDir)
          example method to open a file or dir and extract the Structured Content to outputDir
 
Method Summary
static void main(java.lang.String[] args)
          main routine which checks for any files passed and runs the demo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isTest

public static boolean isTest
used as part of test to limit pages to first 10


debug

public static final boolean debug
See Also:
Constant Field Values

showMessages

public static boolean showMessages
flag to show if we display messages

Constructor Detail

ExtractStructuredText

public ExtractStructuredText()

ExtractStructuredText

public ExtractStructuredText(java.lang.String root,
                             java.lang.String outputDir)
example method to open a file or dir and extract the Structured Content to outputDir

Method Detail

main

public static void main(java.lang.String[] args)
main routine which checks for any files passed and runs the demo