[jsword-svn] jsword/java/limbo/org/crosswire/jsword/book/stub s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Tue Oct 5 15:03:11 MST 2004


Update of /cvs/jsword/jsword/java/limbo/org/crosswire/jsword/book/stub
In directory www.crosswire.org:/tmp/cvs-serv9907/java/limbo/org/crosswire/jsword/book/stub

Modified Files:
	StubDictionary.java StubBookDriver.java StubBook.java 
Log Message:
Improvments on reading SwordBookMetaData

Index: StubBook.java
===================================================================
RCS file: /cvs/jsword/jsword/java/limbo/org/crosswire/jsword/book/stub/StubBook.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StubBook.java	29 Sep 2004 22:21:23 -0000	1.3
--- StubBook.java	5 Oct 2004 22:03:09 -0000	1.4
***************
*** 41,47 ****
       * Basic constructor for a StubBook
       */
!     public StubBook(StubBookDriver driver, String name, BookType type, int speed)
      {
!         BookMetaData bmd = new DefaultBookMetaData(driver, this, name, type, speed);
          setBookMetaData(bmd);
      }
--- 41,47 ----
       * Basic constructor for a StubBook
       */
!     public StubBook(StubBookDriver driver, String name, BookType type)
      {
!         BookMetaData bmd = new DefaultBookMetaData(driver, this, name, type);
          setBookMetaData(bmd);
      }

Index: StubDictionary.java
===================================================================
RCS file: /cvs/jsword/jsword/java/limbo/org/crosswire/jsword/book/stub/StubDictionary.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** StubDictionary.java	29 Sep 2004 22:21:23 -0000	1.6
--- StubDictionary.java	5 Oct 2004 22:03:09 -0000	1.7
***************
*** 46,52 ****
       * Basic constructor for a StubBook
       */
!     public StubDictionary(StubBookDriver driver, String name, BookType type, int speed)
      {
!         BookMetaData bmd = new DefaultBookMetaData(driver, this, name, type, speed);
          setBookMetaData(bmd);
      }
--- 46,52 ----
       * Basic constructor for a StubBook
       */
!     public StubDictionary(StubBookDriver driver, String name, BookType type)
      {
!         BookMetaData bmd = new DefaultBookMetaData(driver, this, name, type);
          setBookMetaData(bmd);
      }

Index: StubBookDriver.java
===================================================================
RCS file: /cvs/jsword/jsword/java/limbo/org/crosswire/jsword/book/stub/StubBookDriver.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** StubBookDriver.java	27 Jul 2004 21:42:34 -0000	1.2
--- StubBookDriver.java	5 Oct 2004 22:03:09 -0000	1.3
***************
*** 41,48 ****
          Book[] books = new Book[]
          {
!             new StubBook(this, "Stub Version", BookType.BIBLE, BookMetaData.SPEED_INACCURATE), //$NON-NLS-1$
!             new StubBook(this, "New Stub Version", BookType.BIBLE, BookMetaData.SPEED_INACCURATE), //$NON-NLS-1$
!             new StubBook(this, "Stub Comments", BookType.COMMENTARY, BookMetaData.SPEED_INACCURATE), //$NON-NLS-1$
!             new StubDictionary(this, "Stub Dict", BookType.DICTIONARY, BookMetaData.SPEED_INACCURATE), //$NON-NLS-1$
          };
  
--- 41,48 ----
          Book[] books = new Book[]
          {
!             new StubBook(this, "Stub Version", BookType.BIBLE), //$NON-NLS-1$
!             new StubBook(this, "New Stub Version", BookType.BIBLE), //$NON-NLS-1$
!             new StubBook(this, "Stub Comments", BookType.COMMENTARY), //$NON-NLS-1$
!             new StubDictionary(this, "Stub Dict", BookType.DICTIONARY), //$NON-NLS-1$
          };
  



More information about the jsword-svn mailing list