public class ChainedProperties extends Object implements Externalizable
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ChainedProperties() |
ChainedProperties(String confFileName,
ClassLoader classLoader) |
ChainedProperties(String confFileName,
ClassLoader classLoader,
boolean populateDefaults) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(Properties properties)
Specifically added properties take priority, so they go to the front of the list.
|
String |
getProperty(String key,
String defaultValue) |
void |
mapStartsWith(Map<String,String> map,
String startsWith,
boolean includeSubProperties) |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public ChainedProperties()
public ChainedProperties(String confFileName, ClassLoader classLoader)
public ChainedProperties(String confFileName, ClassLoader classLoader, boolean populateDefaults)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void addProperties(Properties properties)
properties - Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.