|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.book.BookFilters
public final class BookFilters
Some common implementations of BookFilter.
The GNU Lesser General Public License for details.
Nested Class Summary | |
---|---|
(package private) static class |
BookFilters.AllBookFilter
Filter for all books |
(package private) static class |
BookFilters.BookCategoryFilter
Filter for books by category |
static class |
BookFilters.BookFeatureFilter
Filter for books by feature |
(package private) static class |
BookFilters.CustomBookFilter
Custom Filter |
(package private) static class |
BookFilters.NotBookCategoryFilter
Filter for books by category |
Field Summary | |
---|---|
private static boolean |
commentariesWithBibles
Whether biblesBookFilter includes commentaries. |
Constructor Summary | |
---|---|
private |
BookFilters()
Ensure we can't be created |
Method Summary | |
---|---|
static BookFilter |
both(BookFilter b1,
BookFilter b2)
A filter that accepts Books that match two criteria. |
static BookFilter |
either(BookFilter b1,
BookFilter b2)
A filter that accepts Books that match either of two criteria. |
static BookFilter |
getAll()
A simple default filter that returns everything |
static BookFilter |
getBibles()
A filter that accepts everything that implements Bible or Commentary, when commentaries are listed with Bibles. |
static BookFilter |
getBooksByDriver(BookDriver driver)
A filter that accepts Books that match by book driver. |
static BookFilter |
getCommentaries()
A filter that accepts everything that implements Commentary |
static BookFilter |
getCustom(String match)
A simple default filter that returns everything. |
static BookFilter |
getDailyDevotionals()
A filter that accepts everything that implements DailyDevotionals |
static BookFilter |
getDictionaries()
A filter that accepts everything that implements Dictionary |
static BookFilter |
getGeneralBooks()
A filter that accepts everything that implements GeneralBook |
static BookFilter |
getGlossaries()
A filter that accepts everything that implements Dictionary |
static BookFilter |
getGreekDefinitions()
A filter that accepts everything that is a Greek Definition Dictionary |
static BookFilter |
getGreekParse()
A filter that accepts everything that is a Greek Parse/Morphology Dictionary |
static BookFilter |
getHebrewDefinitions()
A filter that accepts everything that is a Hebrew Definition Dictionary |
static BookFilter |
getHebrewParse()
A filter that accepts everything that is a Hebrew Parse/Morphology Dictionary |
static BookFilter |
getMaps()
A filter that accepts everything that implements Maps |
static BookFilter |
getNonBibles()
A filter that accepts everything that's not a Bible or a Commentary, when commentaries are listed with Bibles. |
static BookFilter |
getOnlyBibles()
A filter that accepts everything that implements Bible. |
static boolean |
isCommentariesWithBibles()
Determine whether the getBible should return the current Bible or the user's chosen default. |
static void |
setCommentariesWithBibles(boolean current)
Establish whether the getBible should return the current Bible or the user's chosen default. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static boolean commentariesWithBibles
Constructor Detail |
---|
private BookFilters()
Method Detail |
---|
public static BookFilter getAll()
public static BookFilter getBibles()
public static BookFilter getOnlyBibles()
public static BookFilter getNonBibles()
public static BookFilter getDictionaries()
public static BookFilter getGlossaries()
public static BookFilter getDailyDevotionals()
public static BookFilter getCommentaries()
public static BookFilter getGeneralBooks()
public static BookFilter getMaps()
public static BookFilter getGreekDefinitions()
public static BookFilter getGreekParse()
public static BookFilter getHebrewDefinitions()
public static BookFilter getHebrewParse()
public static boolean isCommentariesWithBibles()
public static void setCommentariesWithBibles(boolean current)
current
- whether commentaries should be returned together with Biblespublic static BookFilter both(BookFilter b1, BookFilter b2)
b1
- the first filter criteriab2
- the second filter criteria
public static BookFilter either(BookFilter b1, BookFilter b2)
b1
- the first filter criteriab2
- the second filter criteria
public static BookFilter getBooksByDriver(BookDriver driver)
driver
- the driver to match
public static BookFilter getCustom(String match)
initials=ESV;type=Bible;driverName=Sword
match
- a ; separated list of properties (of Book) to match
Book
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |