|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.nachocalendar.customizer.PropertiesCustomizer
public class PropertiesCustomizer
Calendar customizer using a .properties file.
Constructor Summary | |
---|---|
PropertiesCustomizer(java.io.InputStream config)
Constructor using a inputstream which may read a .properties file. |
Method Summary | |
---|---|
boolean |
getBoolean(java.lang.String key)
Returns a boolean related to the key. |
double |
getDouble(java.lang.String key)
Returns a double related to the key. |
float |
getFloat(java.lang.String key)
Returns a float related to the key. |
int |
getInteger(java.lang.String key)
Returns an int related to the key. |
long |
getLong(java.lang.String key)
Returns a long related to the key. |
java.lang.String |
getString(java.lang.String key)
Returns a String related to the key. |
java.util.Set |
keySet()
Returns a Set with the properties names. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertiesCustomizer(java.io.InputStream config) throws java.io.IOException
config
-
java.io.IOException
Method Detail |
---|
public int getInteger(java.lang.String key)
Customizer
getInteger
in interface Customizer
public boolean getBoolean(java.lang.String key)
Customizer
getBoolean
in interface Customizer
public java.lang.String getString(java.lang.String key)
Customizer
getString
in interface Customizer
public long getLong(java.lang.String key)
Customizer
getLong
in interface Customizer
public float getFloat(java.lang.String key)
Customizer
getFloat
in interface Customizer
public double getDouble(java.lang.String key)
Customizer
getDouble
in interface Customizer
public java.util.Set keySet()
Customizer
keySet
in interface Customizer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |