[jsword-devel] Simple question on how best to get a Key or Verse

Martin Denham mjdenham at gmail.com
Thu Jul 8 14:22:29 MST 2010


Hi,

I currently maintain book, chapter and verse as integers in my application
and to get a Verse/Key I first convert the numbers into a String e.g. 1,2,3
-> Gen 2:3.  Then I use book.getKey("Gen 2:3").  Is there a way to get a
Verse/Key without creating a string representation of the verse e.g. new
Verse(1,2,3)?

Or have I misunderstand the intended method to use these classes?

Thanks
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20100708/ec2a585a/attachment.html>


More information about the jsword-devel mailing list