Package | Description |
---|---|
org.crosswire.common.progress |
A generic method of having jobs that execute in the background over some time.
|
org.crosswire.common.util |
A collection of various generic utility classes.
|
org.crosswire.jsword.book.install.sword |
An implementation of an installer that can handle SWORD Books (Modules).
|
org.crosswire.jsword.index.lucene |
An implementation of an Index using Lucene.
|
Modifier and Type | Class and Description |
---|---|
class |
Job
A Generic method of keeping track of Threads and monitoring their progress.
|
Modifier and Type | Field and Description |
---|---|
private static Set<Progress> |
JobManager.jobs
List of current jobs
|
Modifier and Type | Method and Description |
---|---|
static Progress |
JobManager.createJob(String jobName)
Create a new Job that cannot be canceled.
|
static Progress |
JobManager.createJob(String jobID,
String jobName,
Thread workerThread)
Create a new Job that can be canceled.
|
Progress |
WorkEvent.getJob()
Accessor for the Job
|
Modifier and Type | Method and Description |
---|---|
static Iterator<Progress> |
JobManager.iterator()
Accessor for the currently known jobs
|
Modifier and Type | Method and Description |
---|---|
protected static void |
JobManager.fireWorkProgressed(Progress job)
Inform the listeners that a title has changed.
|
Constructor and Description |
---|
WorkEvent(Progress source)
Initialize a WorkEvent
|
Modifier and Type | Method and Description |
---|---|
void |
WebResource.copy(URI dest,
Progress meter)
Copy this WebResource to the destination and report progress.
|
Modifier and Type | Method and Description |
---|---|
private void |
HttpSwordInstaller.copy(Progress job,
URI uri,
URI dest) |
protected void |
HttpSwordInstaller.download(Progress job,
String dir,
String file,
URI dest) |
protected abstract void |
AbstractSwordInstaller.download(Progress job,
String dir,
String file,
URI dest)
Utility to download a file from a remote site
|
Modifier and Type | Method and Description |
---|---|
private void |
LuceneIndex.generateSearchIndexImpl(Progress job,
List<Key> errors,
org.apache.lucene.index.IndexWriter writer,
Key key,
int count,
IndexPolicy policy)
Dig down into a Key indexing as we go.
|