|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectEzText
public class EzText
| Constructor Summary | |
|---|---|
EzText(String filename)
Construct an EzText object by reading in the words of a file. |
|
| Method Summary | |
|---|---|
Integer |
getLength()
Get the number of words in this text. |
String |
getWord(Integer i)
Get a specified numbered word in this text. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EzText(String filename)
filename - the name of the file.| Method Detail |
|---|
public String getWord(Integer i)
i - the word number sought. (Note: first word is #0)
public Integer getLength()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||