org.crosswire.jsword.book
Interface BookList

All Known Subinterfaces:
Installer
All Known Implementing Classes:
AbstractBookList, AbstractSwordInstaller, Books, FtpSwordInstaller, 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.

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: BookList.java,v 1.2 2005/03/19 01:56:47 dmsmith Exp $
Author:
Joe Walker [joe at eireneh dot com]
See Also:
Licence

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

Method Detail

getBooks

List getBooks()
Get an iterator over all the Books of all types.


getBooks

List getBooks(BookFilter filter)
Get a filtered iterator over 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-2004