|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.jsword.book.BookCategory
public final class BookCategory
An Enumeration of the possible types of Book.
for license details.
The copyright to this program is held by it's authors.,
Serialized Form| Field Summary | |
|---|---|
static BookCategory |
BIBLE
Books that are Bibles |
static BookCategory |
COMMENTARY
Books that are Commentaries |
static BookCategory |
DAILY_DEVOTIONS
Books that are indexed by day. |
static BookCategory |
DICTIONARY
Books that are Dictionaries |
static BookCategory |
GENERAL_BOOK
Books that are not any of the above |
static BookCategory |
GLOSSARY
Books that map words from one language to another. |
private String |
name
The name of the BookCategory |
private static int |
nextObj
|
private int |
obj
|
static BookCategory |
OTHER
Books that are not any of the above |
static BookCategory |
QUESTIONABLE
Books that are questionable. |
private static long |
serialVersionUID
Serialization ID |
private static BookCategory[] |
VALUES
|
| Constructor Summary | |
|---|---|
private |
BookCategory(String name)
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object o)
|
static BookCategory |
fromInteger(int i)
Lookup method to convert from an integer |
static BookCategory |
fromString(String name)
Lookup method to convert from a String |
int |
hashCode()
|
(package private) Object |
readResolve()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final BookCategory BIBLE
public static final BookCategory DICTIONARY
public static final BookCategory COMMENTARY
public static final BookCategory DAILY_DEVOTIONS
public static final BookCategory GLOSSARY
public static final BookCategory QUESTIONABLE
public static final BookCategory GENERAL_BOOK
public static final BookCategory OTHER
private String name
private static int nextObj
private final int obj
private static final BookCategory[] VALUES
private static final long serialVersionUID
| Constructor Detail |
|---|
private BookCategory(String name)
name - The name of the BookCategory| Method Detail |
|---|
public static BookCategory fromString(String name)
public static BookCategory fromInteger(int i)
public int compareTo(Object o)
compareTo in interface Comparablepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class ObjectObject readResolve()
|
Copyright ยจ 2003-2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||