|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.rups.model.BackgroundTask
com.itextpdf.rups.model.ObjectLoader
public class ObjectLoader
Loads the necessary iText PDF objects in Background.
Field Summary | |
---|---|
protected TreeNodeFactory |
nodes
The factory that can provide tree nodes. |
protected IndirectObjectFactory |
objects
The factory that can provide PDF objects. |
protected Observable |
observable
This is the object that will forward the updates to the observers. |
protected com.itextpdf.text.pdf.PdfReader |
reader
iText's PdfReader object. |
Constructor Summary | |
---|---|
ObjectLoader(Observable observable,
com.itextpdf.text.pdf.PdfReader reader,
String loaderName)
Creates a new ObjectLoader. |
Method Summary | |
---|---|
void |
doTask()
Implement this class; the time-consuming task will go here. |
String |
getLoaderName()
getter for a human readable name representing this loader |
TreeNodeFactory |
getNodes()
Getter for the tree node factory. |
IndirectObjectFactory |
getObjects()
Getter for the object factory. |
com.itextpdf.text.pdf.PdfReader |
getReader()
Getter for the PdfReader object. |
Methods inherited from class com.itextpdf.rups.model.BackgroundTask |
---|
finished, interrupt, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Observable observable
protected com.itextpdf.text.pdf.PdfReader reader
protected IndirectObjectFactory objects
protected TreeNodeFactory nodes
Constructor Detail |
---|
public ObjectLoader(Observable observable, com.itextpdf.text.pdf.PdfReader reader, String loaderName)
observable
- the object that will forward the changes.reader
- the PdfReader from which the objects will be read.Method Detail |
---|
public com.itextpdf.text.pdf.PdfReader getReader()
public IndirectObjectFactory getObjects()
public TreeNodeFactory getNodes()
public String getLoaderName()
public void doTask()
BackgroundTask
doTask
in class BackgroundTask
BackgroundTask.doTask()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |