Package com.lowagie.rups.model
Class ObjectLoader
java.lang.Object
com.lowagie.rups.model.BackgroundTask
com.lowagie.rups.model.ObjectLoader
Loads the necessary iText PDF objects in Background.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TreeNodeFactory
The factory that can provide tree nodes.protected IndirectObjectFactory
The factory that can provide PDF objects.protected Observable
This is the object that will forward the updates to the observers.protected PdfReader
iText's PdfReader object. -
Constructor Summary
ConstructorsConstructorDescriptionObjectLoader
(Observable observable, PdfReader reader) Creates a new ObjectLoader. -
Method Summary
Methods inherited from class com.lowagie.rups.model.BackgroundTask
finished, interrupt, start
-
Field Details
-
observable
This is the object that will forward the updates to the observers. -
reader
iText's PdfReader object. -
objects
The factory that can provide PDF objects. -
nodes
The factory that can provide tree nodes.
-
-
Constructor Details
-
ObjectLoader
Creates a new ObjectLoader.- Parameters:
observable
- the object that will forward the changes.reader
- the PdfReader from which the objects will be read.
-
-
Method Details
-
getReader
Getter for the PdfReader object.- Returns:
- a reader object
-
getObjects
Getter for the object factory.- Returns:
- an indirect object factory
-
getNodes
Getter for the tree node factory.- Returns:
- a tree node factory
-
doTask
public void doTask()Description copied from class:BackgroundTask
Implement this class; the time-consuming task will go here.- Specified by:
doTask
in classBackgroundTask
- See Also:
-