|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpedal.examples.text.ExtractTextInRectangle
public class ExtractTextInRectangle
Description:Sample code showing how jpedal library can be used with pdf files to extract text from a specified Rectangle. Debugging tip: Set verbose=true in LogWriter to see what is going on.
| Field Summary | |
|---|---|
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 | |
|---|---|
ExtractTextInRectangle()
|
|
ExtractTextInRectangle(java.lang.String file_name)
example method to open a file and extract the raw text |
|
| Method Summary | |
|---|---|
java.lang.String |
getExtractedText()
return text extracted with last extraction |
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 isTest
public static boolean showMessages
| Constructor Detail |
|---|
public ExtractTextInRectangle()
public ExtractTextInRectangle(java.lang.String file_name)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public java.lang.String getExtractedText()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||