|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.icesoft.pdf.ri.util.TextExtractionTask
This class is a utility for extracting text from a PDF document.
| Constructor Summary | |
TextExtractionTask(Document document,
File file,
ResourceBundle messageBundle)
Create a new instance of the TextExtraction object. |
|
| Method Summary | |
int |
getCurrent()
Find out how much has been done. |
int |
getLengthOfTask()
Find out how much work needs to be done. |
String |
getMessage()
Returns the most recent dialog message, or null if there is no current dialog message. |
void |
go()
Start the task, created a new SwingWorker for the text extraction process. |
boolean |
isDone()
Find out if the task has completed. |
void |
stop()
Stop the task. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextExtractionTask(Document document,
File file,
ResourceBundle messageBundle)
document - document whose text will be extracted.file - output file for extracted text.| Method Detail |
public void go()
public int getLengthOfTask()
public int getCurrent()
public void stop()
public boolean isDone()
public String getMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||