org.crosswire.jsword.bridge

## Class BookExporter

- java.lang.Object
- - org.crosswire.jsword.bridge.BookExporter

-     public class BookExporter
      extends Object

  Exports the Book in SWORD's imp format. This is identical to SWORD's mod2imp. Note: it does not work with GenBook.
  Author:
    DM Smith
  See Also:
    `The GNU Lesser General Public License for details.`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private Book` | `book`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BookExporter(Book book)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)` Call with <operation> book.
    `void` | `mod2imp()`
    `static void` | `usage()`

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

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

- - ### Field Detail

    - #### book

          private Book book

  - ### Constructor Detail

    - #### BookExporter

          public BookExporter(Book book)

  - ### Method Detail

    - #### mod2imp

          public void mod2imp()
                       throws BookException

      Throws:
        `BookException`

    - #### main

          public static void main(String[] args)

      Call with <operation> book. Where operation can be one of:
      - check - returns "TRUE" or "FALSE" indicating whether the index exists or not
      - create - (re)create the index
      - delete - delete the index if it exists
      And book is the initials of a book, e.g. KJV.
      Parameters:
        `args` -

    - #### usage

          public static void usage()