[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/readings s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Fri Aug 12 14:00:29 MST 2005
Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/readings
In directory www.crosswire.org:/tmp/cvs-serv772/java/jsword/org/crosswire/jsword/book/readings
Modified Files:
ReadingsBook.java
Log Message:
Added getValidKey to KeyFactory
Index: ReadingsBook.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/readings/ReadingsBook.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** ReadingsBook.java 27 Jul 2005 23:25:47 -0000 1.31
--- ReadingsBook.java 12 Aug 2005 21:00:27 -0000 1.32
***************
*** 194,197 ****
--- 194,212 ----
/* (non-Javadoc)
+ * @see org.crosswire.jsword.passage.KeyFactory#isValidKey(java.lang.String)
+ */
+ public Key getValidKey(String name)
+ {
+ try
+ {
+ return getKey(name);
+ }
+ catch (Exception e)
+ {
+ return createEmptyKeyList();
+ }
+ }
+
+ /* (non-Javadoc)
* @see org.crosswire.jsword.passage.KeyFactory#getKey(java.lang.String)
*/
More information about the jsword-svn
mailing list