|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.ri.util.TextExtractionTask
public class TextExtractionTask
This class is a utility for extracting text from a PDF document.
| Constructor Summary | |
|---|---|
TextExtractionTask(org.icepdf.core.pobjects.Document document,
java.io.File file,
java.util.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. |
java.lang.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(org.icepdf.core.pobjects.Document document,
java.io.File file,
java.util.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 java.lang.String getMessage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||