|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.passage.VerseFactory
public final class VerseFactory
A factory to create a Verse from user input.
for license details.
The copyright to this program is held by it's authors.
Constructor Summary | |
---|---|
private |
VerseFactory()
Prevent a VerseFactory from being created. |
Method Summary | |
---|---|
static Verse |
fromString(String original)
Deprecated. use fromString(Versification, String) instead |
static Verse |
fromString(String original,
VerseRange verseRangeBasis)
Deprecated. use fromString(Versification, String, VerseRange) instead |
static Verse |
fromString(Versification v11n,
String original)
|
static Verse |
fromString(Versification v11n,
String original,
VerseRange verseRangeBasis)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private VerseFactory()
Method Detail |
---|
@Deprecated public static Verse fromString(String original) throws NoSuchVerseException
fromString(Versification, String)
instead
original
- The text string to be converted
NoSuchVerseException
- If the text can not be understoodpublic static Verse fromString(Versification v11n, String original) throws NoSuchVerseException
NoSuchVerseException
@Deprecated public static Verse fromString(String original, VerseRange verseRangeBasis) throws NoSuchVerseException
fromString(Versification, String, VerseRange)
instead
original
- The string describing the verse e.g "2:2"verseRangeBasis
- The basis by which to understand the desc.
NoSuchVerseException
- If the reference is illegalpublic static Verse fromString(Versification v11n, String original, VerseRange verseRangeBasis) throws NoSuchVerseException
NoSuchVerseException
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |