public class PropertyConsultant
extends java.lang.Object
Klasse zur Konvertierung von Text-Properties in einfache Datentypen
Modifier and Type | Field and Description |
---|---|
private PropertyQueryInterface |
_queryInterface |
Constructor and Description |
---|
PropertyConsultant(PropertyQueryInterface queryInterface) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanProperty(java.lang.String key) |
double |
getDoubleProperty(java.lang.String key) |
int |
getIntProperty(java.lang.String key) |
java.lang.String |
getProperty(java.lang.String key) |
private final PropertyQueryInterface _queryInterface
public PropertyConsultant(PropertyQueryInterface queryInterface)
public java.lang.String getProperty(java.lang.String key) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public int getIntProperty(java.lang.String key) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public double getDoubleProperty(java.lang.String key) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public boolean getBooleanProperty(java.lang.String key) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException