org.crosswire.bibledesktop.book.install
Class IndexResolver

java.lang.Object
  extended by org.crosswire.bibledesktop.book.install.IndexResolver

public class IndexResolver
extends Object

A class to prompt the user to download or create a search index and to do carry out the users wishes.

Distribution Licence:
JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
The copyright to this program is held by it's authors.

Version:
$Id: IndexResolver.java,v 1.3 2005/03/19 01:57:09 dmsmith Exp $
Author:
Joe Walker [joe at eireneh dot com]
See Also:
Licence

Field Summary
private static Logger log
          The log stream
private static Object[] options
          The options that we show to the user for how to get a search index
 
Constructor Summary
private IndexResolver()
          Prevent instansiation
 
Method Summary
static void scheduleIndex(Book book, Component parent)
           
private static Installer selectInstaller(Component parent)
          Pick an installer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

options

private static Object[] options
The options that we show to the user for how to get a search index


log

private static final Logger log
The log stream

Constructor Detail

IndexResolver

private IndexResolver()
Prevent instansiation

Method Detail

scheduleIndex

public static void scheduleIndex(Book book,
                                 Component parent)
Parameters:
parent -

selectInstaller

private static Installer selectInstaller(Component parent)
Pick an installer

Parameters:
parent - A component to tie dialogs to
Returns:
The chosen installer or null if the user cancelled.

Copyright ? 2003-2004