public abstract class AbstractConfiguration extends Object
| Constructor and Description |
|---|
AbstractConfiguration(PropertyConfiguration propertyConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
assemble()
Called after reading properties file,
override to read configuration from it.
|
boolean |
containsPropertyKey(String propertyKey) |
protected boolean |
getBooleanProperty(String propertyKey) |
protected <T extends Enum<T>> |
getEnumProperty(String propertyKey,
Class<T> enumType) |
protected String |
getStringProperty(String propertyKey) |
void |
readProperties(String classpathName) |
public AbstractConfiguration(PropertyConfiguration propertyConfiguration)
public void readProperties(String classpathName)
protected <T extends Enum<T>> T getEnumProperty(String propertyKey, Class<T> enumType)
protected boolean getBooleanProperty(String propertyKey)
public boolean containsPropertyKey(String propertyKey)
protected abstract void assemble()
Copyright © 2014. All rights reserved.