public class TextExtractionTask
extends java.lang.Object
| Constructor and Description |
|---|
TextExtractionTask(org.icepdf.core.pobjects.Document document,
java.io.File file,
java.util.ResourceBundle messageBundle)
Create a new instance of the TextExtraction object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.public void go()
public int getLengthOfTask()
public int getCurrent()
public void stop()
public boolean isDone()
public java.lang.String getMessage()