|
|||||||||
| 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 Customizerpublic boolean getBoolean(java.lang.String key)
Customizer
getBoolean in interface Customizerpublic java.lang.String getString(java.lang.String key)
Customizer
getString in interface Customizerpublic long getLong(java.lang.String key)
Customizer
getLong in interface Customizerpublic float getFloat(java.lang.String key)
Customizer
getFloat in interface Customizerpublic double getDouble(java.lang.String key)
Customizer
getDouble in interface Customizerpublic 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 | ||||||||