|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlhmc.utils.ConfigReader
public class ConfigReader
ConfigReader reads the config file and gets it's properties.
Constructor Summary | |
---|---|
ConfigReader()
Constructs ConfigReader. |
Method Summary | |
---|---|
java.lang.String |
getProperty(java.lang.String key)
Gets the property string from key string. |
java.awt.Color |
loadColor(java.lang.String colorType)
Gets the color from a colortype string. |
java.awt.Font |
loadFont(java.lang.String fontType)
Gets the font from a fontType string. |
java.util.Enumeration |
propertyNames()
Gets an enumeration on key Names |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigReader()
Method Detail |
---|
public java.lang.String getProperty(java.lang.String key)
key
- the key string.
public java.util.Enumeration propertyNames()
public java.awt.Color loadColor(java.lang.String colorType)
colorType
- the name of the color type to get.
public java.awt.Font loadFont(java.lang.String fontType)
fontType
- the name of the font type to get.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |