org.crosswire.jsword.book
Interface BookList

All Known Subinterfaces:
Installer
All Known Implementing Classes:
AbstractBookList, AbstractSwordInstaller, Books, HttpSwordInstaller

public interface BookList

There are several lists of Books, the most important being the installed Books, however there may be others like the available books or books from a specific driver. This interface provides a common method of accessing all of them.

Author:
Joe Walker [joe at eireneh dot com]
See Also:
for license details. The copyright to this program is held by it's authors., License

Method Summary
 void addBooksListener(BooksListener li)
          Remove a BibleListener from our list of listeners
 List getBooks()
          Get a list of all the Books of all types.
 List getBooks(BookFilter filter)
          Get a filtered list of all the Books.
 void removeBooksListener(BooksListener li)
          Add a BibleListener to our list of listeners
 

Method Detail

getBooks

List getBooks()
Get a list of all the Books of all types.


getBooks

List getBooks(BookFilter filter)
Get a filtered list of all the Books.

See Also:
BookFilters

addBooksListener

void addBooksListener(BooksListener li)
Remove a BibleListener from our list of listeners

Parameters:
li - The old listener

removeBooksListener

void removeBooksListener(BooksListener li)
Add a BibleListener to our list of listeners

Parameters:
li - The new listener

Copyright ? 2003-2006