|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcs138.common.CS138Properties
public class CS138Properties
The CS138Properties class is designed to interact with the properties file cs138.properties. It handles the loading and parsing of the file and provides default values defined by the TAs when the property file is empty.
| Nested Class Summary | |
|---|---|
static class |
CS138Properties.Property
The list of properties that we currently have defined. |
| Constructor Summary | |
|---|---|
CS138Properties()
|
|
| Method Summary | |
|---|---|
static int |
getInteger(CS138Properties.Property prop)
Return a Property value as an Integer |
static java.lang.String |
getString(CS138Properties.Property prop)
Return a Property value as a String |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CS138Properties()
| Method Detail |
|---|
public static java.lang.String getString(CS138Properties.Property prop)
prop - The property whose value you want
public static int getInteger(CS138Properties.Property prop)
prop - The property whose value you want
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||