public class BookIndexer extends Object
The GNU Lesser General Public License for details.
Modifier and Type | Class and Description |
---|---|
static class |
BookIndexer.StatusListener
Listen for the end of indexing.
|
Modifier and Type | Field and Description |
---|---|
protected Book |
book |
private boolean |
done |
protected IndexManager |
indexManager |
private IndexStatusListener |
isl |
Constructor and Description |
---|
BookIndexer(Book book) |
Modifier and Type | Method and Description |
---|---|
void |
createIndex() |
void |
deleteIndex() |
boolean |
isIndexed() |
static void |
main(String[] args)
Call with <operation> book.
|
protected void |
setDone(boolean state) |
static void |
usage() |
protected Book book
protected IndexManager indexManager
private IndexStatusListener isl
private boolean done
public BookIndexer(Book book)
public boolean isIndexed()
public void deleteIndex() throws BookException
BookException
public void createIndex() throws BookException
BookException
protected void setDone(boolean state)
public static void main(String[] args)
args
- public static void usage()