net.sf.nachocalendar.customizer

Interface Customizer

public interface Customizer

Interface that must implement any class used to read a configuration file to get property values.
Author:
Ignacio Merani

Method Summary

boolean
getBoolean(String key)
Returns a boolean related to the key.
double
getDouble(String key)
Returns a double related to the key.
float
getFloat(String key)
Returns a float related to the key.
int
getInteger(String key)
Returns an int related to the key.
long
getLong(String key)
Returns a long related to the key.
String
getString(String key)
Returns a String related to the key.
Set
keySet()
Returns a Set with the properties names.

Method Details

getBoolean

public boolean getBoolean(String key)
Returns a boolean related to the key.
Parameters:
key -
Returns:

getDouble

public double getDouble(String key)
Returns a double related to the key.
Parameters:
key -
Returns:

getFloat

public float getFloat(String key)
Returns a float related to the key.
Parameters:
key -
Returns:

getInteger

public int getInteger(String key)
Returns an int related to the key.
Parameters:
key -
Returns:

getLong

public long getLong(String key)
Returns a long related to the key.
Parameters:
key -
Returns:

getString

public String getString(String key)
Returns a String related to the key.
Parameters:
key -
Returns:

keySet

public Set keySet()
Returns a Set with the properties names.
Returns: