<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Did you take a look at the samples here? <br>http://www.crosswire.org/jsword/java2html/org/crosswire/jsword/examples/APIExamples.java.html<br><br>It seems the jsword didn't provide a direct way to get all book names directly. (Please let us know if there is one). This is how I get it in groovy.<br><br>def bibles = new ArrayList()<br> int nbook = BibleInfo.booksInBible();<br> BibleNames bn = new BibleNames(loc)<br><br> try {<br> for (int i = 1; i <= nbook; i++)<br><br> {<br><br> def gb = new Expando()<br> gb.key =
BibleInfo.getBookName(i).getShortName()<br> gb.shortname = bn.getShortName(i)<br> gb.cname = bn.getName(i)<br> gb.longname = BibleInfo.getBookName(i).getLongName()<br> biblekeymap.put(gb.longname, gb.cname)<br> biblekeymap.put(gb.shortname, gb.cname)<br> biblekeymap.put(gb.key, gb.cname)<br><br> bibles.add(gb)<br> }<br><br><br> } catch (Exception e) {<br> e.printStackTrace();<br> }<br> }<br> return
bibles<br><br><br><br>--- On <b>Fri, 10/2/09, jsword-devel-request@crosswire.org <i><jsword-devel-request@crosswire.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: jsword-devel-request@crosswire.org <jsword-devel-request@crosswire.org><br>Subject: jsword-devel Digest, Vol 65, Issue 1<br>To: jsword-devel@crosswire.org<br>Date: Friday, October 2, 2009, 3:00 PM<br><br><div class="plainMail">Send jsword-devel mailing list submissions to<br> <a ymailto="mailto:jsword-devel@crosswire.org" href="/mc/compose?to=jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>or, via email, send a message with subject or body
'help' to<br> <a ymailto="mailto:jsword-devel-request@crosswire.org" href="/mc/compose?to=jsword-devel-request@crosswire.org">jsword-devel-request@crosswire.org</a><br><br>You can reach the person managing the list at<br> <a ymailto="mailto:jsword-devel-owner@crosswire.org" href="/mc/compose?to=jsword-devel-owner@crosswire.org">jsword-devel-owner@crosswire.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of jsword-devel digest..."<br><br><br>Today's Topics:<br><br> 1. Beginning with JSword (Chris Burrell)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 2 Oct 2009 19:20:50 +0100<br>From: Chris Burrell <<a ymailto="mailto:christopher@burrell.me.uk" href="/mc/compose?to=christopher@burrell.me.uk">christopher@burrell.me.uk</a>><br>Subject: [jsword-devel] Beginning with
JSword<br>To: <a ymailto="mailto:jsword-devel@crosswire.org" href="/mc/compose?to=jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br>Message-ID:<br> <<a ymailto="mailto:8c0aba2c0910021120q569368cjab446b850afeb557@mail.gmail.com" href="/mc/compose?to=8c0aba2c0910021120q569368cjab446b850afeb557@mail.gmail.com">8c0aba2c0910021120q569368cjab446b850afeb557@mail.gmail.com</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi<br><br>I'm trying to get a list of all the books in the bible for a particular<br>Book, say the ESV. I'm really new to this... Any ideas if there are examples<br>on the net? I've fonud the Global Key list but that seems to have most<br>verses as well... Can anyone point me to the helpful apis? I seem to find it<br>really difficult to find it on the crosswire website...<br><br>What is a chapter? a book category? ...<br><br>Cheers<br>Chris<br>-------------- next part --------------<br>An HTML
attachment was scrubbed...<br>URL: <<a href="http://www.crosswire.org/pipermail/jsword-devel/attachments/20091002/72a1e4a7/attachment-0001.html" target="_blank">http://www.crosswire.org/pipermail/jsword-devel/attachments/20091002/72a1e4a7/attachment-0001.html</a>><br><br>------------------------------<br><br>_______________________________________________<br>jsword-devel mailing list<br><a ymailto="mailto:jsword-devel@crosswire.org" href="/mc/compose?to=jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br><br><br>End of jsword-devel Digest, Vol 65, Issue 1<br>*******************************************<br></div></blockquote></td></tr></table><br>