|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.shimari.framework.PropertiesConfigReader
Parses ".properties" files into Config objects. This reads files in the exact same format as the java.util.Properties class accepts. Only parses files which end in ".properties".
Constructor Summary | |
PropertiesConfigReader()
|
Method Summary | |
boolean |
handlesFileType(java.lang.String extension)
Returns true if this read can parse files with the supplied extension, eg "properties" or "xml". |
void |
parse(ConfigUpdater updater,
java.io.BufferedReader in)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertiesConfigReader()
Method Detail |
public boolean handlesFileType(java.lang.String extension)
ConfigReader
handlesFileType
in interface ConfigReader
public void parse(ConfigUpdater updater, java.io.BufferedReader in) throws java.io.IOException
parse
in interface ConfigReader
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |