Package | Description |
---|---|
org.crosswire.jsword.book.install |
An abstraction of an installer.
|
org.crosswire.jsword.book.install.sword |
An implementation of an installer that can handle SWORD Books (Modules).
|
org.crosswire.jsword.bridge |
Command line programs to do useful things.
|
org.crosswire.jsword.util |
This package contains general Project specific utilities.
|
Modifier and Type | Method and Description |
---|---|
void |
Installer.downloadSearchIndex(Book book,
URI tempDest)
Download a search index for the given Book.
|
void |
Installer.install(Book book)
Download and install a book locally.
|
void |
Installer.reloadBookList()
Re-fetch a list of names from the remote source.
|
Modifier and Type | Method and Description |
---|---|
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
|
void |
AbstractSwordInstaller.downloadSearchIndex(Book book,
URI localDest) |
protected URI |
AbstractSwordInstaller.getCachedIndexDir()
The URL for the cached index file for this installer
|
protected URI |
AbstractSwordInstaller.getCachedIndexFile()
The URL for the cached index file for this installer
|
protected void |
AbstractSwordInstaller.loadCachedIndex()
Load the cached index file into memory
|
void |
AbstractSwordInstaller.reloadBookList() |
Modifier and Type | Method and Description |
---|---|
void |
BookInstaller.installBook(String repositoryName,
Book book)
Install a book, overwriting it if the book to be installed is newer.
|
void |
BookInstaller.reloadBookList(String repositoryName)
Reload the local cache for a remote repository.
|
Modifier and Type | Method and Description |
---|---|
static void |
IndexDownloader.downloadIndex(Book book,
Installer installer)
Download and install a search index
|