|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectutil.Continuation
This class is a tool for reading in status of skills and drills from a plain text file. The name of the file or the inputstream must be passed into this class as an argument. Each line in the settings file much obey the format of SkillLatticeConstants.java e.g. "drill1 attempted yyyy.MM.dd_HH:mm:ss"
| Constructor Summary | |
Continuation(java.lang.String filename)
This constructor loads the settings from a String filename. |
|
| Method Summary | |
java.lang.String |
get(java.lang.String name)
This method returns the value associated with some settings key. |
void |
process(java.lang.String line)
This method processes a single line from the settings file, and puts the pair of values into an internal map. |
void |
put(java.lang.String skill,
java.lang.String drill)
|
void |
remove(java.lang.String skill)
|
void |
write()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Continuation(java.lang.String filename)
filename - Filename of the settings file.| Method Detail |
public void process(java.lang.String line)
line - A line of data from the settings file.public java.lang.String get(java.lang.String name)
name - Name of constant key.
public void put(java.lang.String skill,
java.lang.String drill)
public void remove(java.lang.String skill)
public void write()
|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.