[jsword-devel] Limiting the number of verses in a passage
Brian Fernandes
infernalproteus at gmail.com
Mon Jul 6 02:18:38 MST 2009
That was too easy and obvious to boot, please pretend I never asked ;-)
Thank you for the quick reply, I can't believe I was almost going to
write something that would try to do something like this!
In Him,
Brian.
Stephen Denne wrote:
>> From: Brian Fernandes [mailto:infernalproteus at gmail.com]
>>
>
>
>> Given a passage object, say a RocketPassage - what is the best way to
>> limit the number of verses in it?
>>
>> The verses in the passage may not be continuous. So something like
>> "gen.1.1-3,lev.2.1-5,exo.3.1-ff" as a single passage object.
>> If I want
>> to restrict the lookup/retrieval to only the first 15 verses, what is
>> the best way to achieve this with JSword?
>>
>> Thanks!
>> Brian.
>>
>
>
> There's an example or two of Passage.trimVerses() in org.crosswire.jsword.examples.APIExamples that may do what you want.
>
> Regards,
> Stephen Denne.
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
More information about the jsword-devel
mailing list