public abstract class AbstractConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PropertyConfiguration |
propertyConfiguration |
| Constructor and Description |
|---|
AbstractConfiguration() |
| 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 <T extends Enum<T>> |
getEnumProperty(String propertyKey,
Class<T> enumType) |
protected String |
getStringProperty(String propertyKey) |
void |
readProperties(String classpathName) |
protected PropertyConfiguration propertyConfiguration
public void readProperties(String classpathName)
protected <T extends Enum<T>> T getEnumProperty(String propertyKey, Class<T> enumType)
public boolean containsPropertyKey(String propertyKey)
protected abstract void assemble()
Copyright © 2013. All rights reserved.