|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectFlatFileDictionary
class FlatFileDictionary
| Constructor Summary | |
|---|---|
FlatFileDictionary()
|
|
| Method Summary | |
|---|---|
boolean |
findWord(java.lang.String word)
This function performs the initialisation required for the "read" and "getMeaning" functions to work properly. |
java.lang.String |
getDescription()
The description returned by this function is used by cornucopia at the time of startup to display which dictionary is currently loaded. |
java.lang.String |
getMeaning()
This method gives the next meaning string, as signaled by "read" method. |
boolean |
read()
This function signals weather another meaning corresponding to the word set by "findWord" function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
FlatFileDictionary()
| Method Detail |
|---|
public java.lang.String getDescription()
Dictionary
getDescription in interface Dictionarypublic boolean findWord(java.lang.String word)
Dictionary
findWord in interface Dictionarypublic java.lang.String getMeaning()
Dictionary
getMeaning in interface Dictionarypublic boolean read()
Dictionary
read in interface Dictionary
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||