net.sf.nachocalendar.customizer

Class PropertiesCustomizer

Implemented Interfaces:
Customizer

public class PropertiesCustomizer
extends java.lang.Object
implements Customizer

Calendar customizer using a .properties file.
Author:
Ignacio Merani

Constructor Summary

PropertiesCustomizer(InputStream config)
Constructor using a inputstream which may read a .properties file.

Method Summary

boolean
getBoolean(String key)
double
getDouble(String key)
float
getFloat(String key)
int
getInteger(String key)
long
getLong(String key)
String
getString(String key)
Set
keySet()

Constructor Details

PropertiesCustomizer

public PropertiesCustomizer(InputStream config)
            throws IOException
Constructor using a inputstream which may read a .properties file.
Parameters:
config -

Method Details

getBoolean

public boolean getBoolean(String key)

getDouble

public double getDouble(String key)

getFloat

public float getFloat(String key)

getInteger

public int getInteger(String key)

getLong

public long getLong(String key)

getString

public String getString(String key)

keySet

public Set keySet()