|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpedal.examples.text.ExtractOutline
public class ExtractOutline
Sample code showing how jpedal library can be used with pdf files to extract text from a specified Rectangle as a set of words. This example is based on extractTextInRectangle.java These can then be entered into an index engine such as Lucene
| Field Summary | |
|---|---|
static boolean |
isTest
used in our regression tests to limit to first 10 pages |
static boolean |
showMessages
flag to show if we print messages |
| Constructor Summary | |
|---|---|
ExtractOutline()
|
|
ExtractOutline(byte[] array)
example method to open a file and extract the raw text |
|
ExtractOutline(java.lang.String file_name)
example method to open a file and extract the raw text |
|
| 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 |
|---|
public static boolean showMessages
public static boolean isTest
| Constructor Detail |
|---|
public ExtractOutline()
public ExtractOutline(java.lang.String file_name)
public ExtractOutline(byte[] array)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||