[jsword-svn] r2236 - trunk/jsword/src/main/java/org/crosswire/jsword/book
mjdenham at crosswire.org
mjdenham at crosswire.org
Wed Mar 7 12:32:37 MST 2012
Author: mjdenham
Date: 2012-03-07 12:32:37 -0700 (Wed, 07 Mar 2012)
New Revision: 2236
Modified:
trunk/jsword/src/main/java/org/crosswire/jsword/book/BookFilters.java
Log:
JS-209 : define a Maps filter in BookFilters
Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/BookFilters.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/BookFilters.java 2012-03-07 19:23:21 UTC (rev 2235)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/BookFilters.java 2012-03-07 19:32:37 UTC (rev 2236)
@@ -112,6 +112,13 @@
}
/**
+ * A filter that accepts everything that implements Maps
+ */
+ public static BookFilter getMaps() {
+ return new BookCategoryFilter(BookCategory.MAPS);
+ }
+
+ /**
* A filter that accepts everything that is a Greek Definition Dictionary
*/
public static BookFilter getGreekDefinitions() {
More information about the jsword-svn
mailing list