public class ObjectLoader extends BackgroundTask
| Modifier and Type | Field and Description |
|---|---|
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 PdfReader |
reader
iText's PdfReader object.
|
| Constructor and Description |
|---|
ObjectLoader(Observable observable,
PdfReader reader)
Creates a new ObjectLoader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doTask()
Implement this class; the time-consuming task will go here.
|
TreeNodeFactory |
getNodes()
Getter for the tree node factory.
|
IndirectObjectFactory |
getObjects()
Getter for the object factory.
|
PdfReader |
getReader()
Getter for the PdfReader object.
|
finished, interrupt, startprotected Observable observable
protected PdfReader reader
protected IndirectObjectFactory objects
protected TreeNodeFactory nodes
public ObjectLoader(Observable observable, PdfReader reader)
observable - the object that will forward the changes.reader - the PdfReader from which the objects will be read.public PdfReader getReader()
public IndirectObjectFactory getObjects()
public TreeNodeFactory getNodes()
public void doTask()
BackgroundTaskdoTask in class BackgroundTaskBackgroundTask.doTask()Copyright © 2015. All rights reserved.