org.crosswire.jsword.util

## Class IndexDownloader

- java.lang.Object
- - org.crosswire.jsword.util.IndexDownloader

-     public final class IndexDownloader
      extends Object

  .
  Author:
    Joe Walker
  See Also:
    `The GNU Lesser General Public License for details.`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private static String` | `TEMP_PREFIX` Temp file prefix
    `private static String` | `TEMP_SUFFIX` Temp file suffix

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `private` | `IndexDownloader()` Prevent instantiation

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `downloadIndex(Book book, Installer installer)` Download and install a search index

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### TEMP_PREFIX

          private static final String TEMP_PREFIX

      Temp file prefix
      See Also:
        Constant Field Values

    - #### TEMP_SUFFIX

          private static final String TEMP_SUFFIX

      Temp file suffix
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### IndexDownloader

          private IndexDownloader()

      Prevent instantiation

  - ### Method Detail

    - #### downloadIndex

          public static void downloadIndex(Book book,
                           Installer installer)
                                    throws IOException,
                                           InstallException,
                                           BookException

      Download and install a search index
      Parameters:
        `book` - The book to get an index for
        `installer` -
      Throws:
        `IOException`
        `InstallException`
        `BookException`