|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecttalx.util.ShallowSettings
talx.model.Settings
This class reads in a given XML file and parses it for a variety of values which it will store in its private variables. It then provides methods for retrieving the values.
| Nested Class Summary |
| Nested classes inherited from class talx.util.ShallowSettings |
ShallowSettings.MutableSettings, ShallowSettings.ShallowPerson |
| Field Summary |
| Fields inherited from class talx.util.ShallowSettings |
DRAG_DOWN, DRAG_SELECT, DRAG_UP |
| Constructor Summary | |
Settings(java.lang.String filename,
java.lang.String fileRoot)
This constructor builds up an XML Document of Nodes from the given XML file and then calls the method parse to retrieve the values of certain nodes. |
|
| Method Summary | |
java.lang.String |
getFeatureDirectory()
Returns the subdirectory where feature-specific information should be stored. |
Person[] |
getPersons()
Returns the list of email buddies. |
java.lang.String |
getPictureDirectory()
Returns the subdirectory with the buddy pictures, and other user-specific pictures. |
Player[] |
getPlayers()
Returns the list of game buddies. |
java.lang.String |
getUserDirectory()
Returns the subdirectory with the buddy pictures, and other user-specific pictures. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Settings(java.lang.String filename,
java.lang.String fileRoot)
filename - The filename of the XML input file.fileRoot - The location of the user's directory.| Method Detail |
public java.lang.String getUserDirectory()
public java.lang.String getPictureDirectory()
public java.lang.String getFeatureDirectory()
public Person[] getPersons()
public Player[] getPlayers()
|
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.