|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sadun.util.CmdLineOptions.PropertiesFileParser
A CmdLineOptions.DefaultsStreamParser
which interprets the stream as
coming from a Properties file.
Properties.load() is used to read the stream and the resulting properties
populate the result map.
* @author Cristiano Sadun
Constructor Summary | |
CmdLineOptions.PropertiesFileParser()
|
Method Summary | |
java.util.Map |
readDefaults(java.io.InputStream is)
Initialize a Properties object using load() on the given string, and place all the read properties in the result Map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmdLineOptions.PropertiesFileParser()
Method Detail |
public java.util.Map readDefaults(java.io.InputStream is) throws java.io.IOException
readDefaults
in interface CmdLineOptions.DefaultsStreamParser
is
- a property stream
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |