|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.jsword.passage.DefaultLeafKeyList
org.crosswire.jsword.book.readings.ReadingsKey
public class ReadingsKey
For a readings dictionary the keys are dates.
for license details.
The copyright to this program is held by it's authors.,
Serialized Form| Field Summary | |
|---|---|
private Date |
date
The day of the year for the readings |
private static MessageFormat |
KEY_FORMAT
|
private static DateFormat |
NAME_DF
Date formatter |
private static DateFormat |
OSIS_DF
|
private static long |
serialVersionUID
Serialization ID |
| Constructor Summary | |
|---|---|
protected |
ReadingsKey(Date date)
Simple Constructor. |
protected |
ReadingsKey(String text,
String osisName,
Key parent)
Simple Constructor. |
| Method Summary | |
|---|---|
Object |
clone()
This needs to be declared here so that it is visible as a method on a derived Key. |
int |
compareTo(Object obj)
|
boolean |
equals(Object obj)
This needs to be declared here so that it is visible as a method on a derived Key. |
static String |
external2internal(Calendar externalKey)
|
int |
hashCode()
This needs to be declared here so that it is visible as a method on a derived Key. |
| Methods inherited from class org.crosswire.jsword.passage.DefaultLeafKeyList |
|---|
addAll, blur, canHaveChildren, clear, contains, get, getCardinality, getChildCount, getName, getName, getOsisID, getOsisRef, getParent, getRootName, indexOf, isEmpty, iterator, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private Date date
private static final long serialVersionUID
private static final DateFormat NAME_DF
private static final DateFormat OSIS_DF
private static final MessageFormat KEY_FORMAT
| Constructor Detail |
|---|
protected ReadingsKey(String text,
String osisName,
Key parent)
throws NoSuchKeyException
text - The textual version of the date for these readings in the
format "d mmmm"osisName - The OSIS id of this Keyparent - This Key's parent (or null of this Key has no parent)
NoSuchKeyExceptionprotected ReadingsKey(Date date)
date - The date for this key| Method Detail |
|---|
public boolean equals(Object obj)
Key
equals in interface Keyequals in class DefaultLeafKeyListpublic int hashCode()
Key
hashCode in interface KeyhashCode in class DefaultLeafKeyListpublic int compareTo(Object obj)
compareTo in interface ComparablecompareTo in class DefaultLeafKeyListpublic Object clone()
Key
clone in interface Keyclone in class DefaultLeafKeyListpublic static String external2internal(Calendar externalKey)
|
Copyright ยจ 2003-2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||