[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/filter s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Mar 5 15:08:08 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/filter
In directory www.crosswire.org:/tmp/cvs-serv27571/java/jsword/org/crosswire/jsword/book/filter

Modified Files:
	Filter.java 
Log Message:
Improved error reporting when parsing modules. Specifically, I added Key as a n argument to toOSIS in Filter and its derivatives. On entry into the routine, I called DataPolice.setKey(key) and on exit, DataPolice.setKey(null)

Index: Filter.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/filter/Filter.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Filter.java	16 Aug 2004 22:08:44 -0000	1.6
--- Filter.java	5 Mar 2005 22:08:06 -0000	1.7
***************
*** 3,6 ****
--- 3,8 ----
  import java.util.List;
  
+ import org.crosswire.jsword.passage.Key;
+ 
  /**
   * A generic interface for things that can convert a String into OSIS data.
***************
*** 31,37 ****
      /**
       * Converter from plain (encoded) text to OSIS data
       * @param plain The encoded text
       * @return a List of OSIS Elements
       */
!     public List toOSIS(String plain) throws FilterException;
  }
--- 33,40 ----
      /**
       * Converter from plain (encoded) text to OSIS data
+      * @param key The key for the text
       * @param plain The encoded text
       * @return a List of OSIS Elements
       */
!     public List toOSIS(Key key, String plain) throws FilterException;
  }



More information about the jsword-svn mailing list