public class ClientConfiguration
extends org.apache.commons.configuration.CompositeConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
ClientConfiguration.ClientProperty |
Modifier and Type | Field and Description |
---|---|
static String |
GLOBAL_CONF_FILENAME |
static String |
USER_ACCUMULO_DIR_NAME |
static String |
USER_CONF_FILENAME |
Constructor and Description |
---|
ClientConfiguration(org.apache.commons.configuration.Configuration... configs)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
ClientConfiguration(File configFile)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API; use
fromFile(File) instead. |
ClientConfiguration(List<? extends org.apache.commons.configuration.Configuration> configs)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
ClientConfiguration(String configFile)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API; use
fromFile(File) instead. |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguration(org.apache.commons.configuration.Configuration config)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
addConfigurationListener(org.apache.commons.configuration.event.ConfigurationListener l)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
addErrorListener(org.apache.commons.configuration.event.ConfigurationErrorListener l)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
addErrorLogListener()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
addProperty(String key,
Object value)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
protected void |
addPropertyDirect(String key,
Object token)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
append(org.apache.commons.configuration.Configuration c)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
clear()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
clearConfigurationListeners()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
clearErrorListeners()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
clearProperty(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
protected void |
clearPropertyDirect(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
boolean |
containsKey(String key) |
void |
copy(org.apache.commons.configuration.Configuration c)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
static ClientConfiguration |
create()
Initializes an empty configuration object to be further configured with other methods on the
class.
|
protected org.apache.commons.configuration.event.ConfigurationErrorEvent |
createErrorEvent(int type,
String propName,
Object propValue,
Throwable ex)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
protected org.apache.commons.configuration.event.ConfigurationEvent |
createEvent(int type,
String propName,
Object propValue,
boolean before)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
protected org.apache.commons.configuration.interpol.ConfigurationInterpolator |
createInterpolator()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
static ClientConfiguration |
deserialize(String serializedConfig) |
protected void |
fireError(int type,
String propName,
Object propValue,
Throwable ex)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
protected void |
fireEvent(int type,
String propName,
Object propValue,
boolean before)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
static ClientConfiguration |
fromFile(File file)
Initializes a configuration object from the contents of a configuration file.
|
static ClientConfiguration |
fromMap(Map<String,String> properties)
Initializes a configuration object from the contents of a map.
|
String |
get(ClientConfiguration.ClientProperty prop)
Returns the value for prop, the default value if not present.
|
Map<String,String> |
getAllPropertiesWithPrefix(ClientConfiguration.ClientProperty property)
Gets all properties under the given prefix in this configuration.
|
BigDecimal |
getBigDecimal(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
BigDecimal |
getBigDecimal(String key,
BigDecimal defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
BigInteger |
getBigInteger(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
BigInteger |
getBigInteger(String key,
BigInteger defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
boolean |
getBoolean(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
boolean |
getBoolean(String key,
boolean defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Boolean |
getBoolean(String key,
Boolean defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
byte |
getByte(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
byte |
getByte(String key,
byte defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Byte |
getByte(String key,
Byte defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
org.apache.commons.configuration.Configuration |
getConfiguration(int index)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Collection |
getConfigurationListeners()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
double |
getDouble(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
double |
getDouble(String key,
double defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Double |
getDouble(String key,
Double defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Collection |
getErrorListeners()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
float |
getFloat(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
float |
getFloat(String key,
float defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Float |
getFloat(String key,
Float defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
org.apache.commons.configuration.Configuration |
getInMemoryConfiguration()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
int |
getInt(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
int |
getInt(String key,
int defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Integer |
getInteger(String key,
Integer defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
org.apache.commons.configuration.interpol.ConfigurationInterpolator |
getInterpolator()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Iterator<String> |
getKeys() |
Iterator<String> |
getKeys(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
List |
getList(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
List |
getList(String key,
List defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
char |
getListDelimiter()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
org.apache.commons.logging.Log |
getLogger()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
long |
getLong(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
long |
getLong(String key,
long defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Long |
getLong(String key,
Long defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
int |
getNumberOfConfigurations()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Properties |
getProperties(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Properties |
getProperties(String key,
Properties defaults)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Object |
getProperty(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
short |
getShort(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
short |
getShort(String key,
short defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
Short |
getShort(String key,
Short defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
org.apache.commons.configuration.Configuration |
getSource(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
String |
getString(String key) |
String |
getString(String key,
String defaultValue)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
String[] |
getStringArray(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
org.apache.commons.lang.text.StrSubstitutor |
getSubstitutor()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
boolean |
hasSasl()
Show whether SASL has been set on this configuration.
|
protected Object |
interpolate(Object value)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
protected String |
interpolate(String base)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
org.apache.commons.configuration.Configuration |
interpolatedConfiguration()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
protected String |
interpolateHelper(String base,
List priorVariables)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
boolean |
isDelimiterParsingDisabled()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
boolean |
isDetailEvents()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
boolean |
isEmpty()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
boolean |
isThrowExceptionOnMissing()
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
static ClientConfiguration |
loadDefault()
Attempts to load a configuration file from the system using the default search paths.
|
void |
removeConfiguration(org.apache.commons.configuration.Configuration config)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
boolean |
removeConfigurationListener(org.apache.commons.configuration.event.ConfigurationListener l)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
boolean |
removeErrorListener(org.apache.commons.configuration.event.ConfigurationErrorListener l)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
protected Object |
resolveContainerStore(String key)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
String |
serialize() |
void |
setDelimiterParsingDisabled(boolean delimiterParsingDisabled)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
setDetailEvents(boolean enable)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
setListDelimiter(char listDelimiter)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
setLogger(org.apache.commons.logging.Log log)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
setProperty(ClientConfiguration.ClientProperty prop,
String value)
Sets the value of property to value
|
void |
setProperty(String key,
Object value)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
void |
setProperty(String prop,
String value)
Sets the value of property to value
|
void |
setThrowExceptionOnMissing(boolean throwExceptionOnMissing)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
org.apache.commons.configuration.Configuration |
subset(String prefix)
Deprecated.
since 1.9.0; will be removed in 2.0.0 to eliminate commons config leakage into
Accumulo API
|
ClientConfiguration |
with(ClientConfiguration.ClientProperty prop,
String value)
Same as
setProperty(ClientProperty, String) but returns the ClientConfiguration for
chaining purposes |
ClientConfiguration |
with(String prop,
String value)
Same as
setProperty(String, String) but returns the ClientConfiguration for chaining
purposes |
ClientConfiguration |
withInstance(String instanceName)
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_NAME |
ClientConfiguration |
withInstance(UUID instanceId)
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_ID |
ClientConfiguration |
withKeystore(String path)
Same as
withKeystore(String, String, String) with password null and type null |
ClientConfiguration |
withKeystore(String path,
String password,
String type)
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_RPC_SSL_CLIENT_AUTH,
ClientProperty.RPC_SSL_KEYSTORE_PATH, ClientProperty.RPC_SSL_KEYSTORE_PASSWORD, and
ClientProperty.RPC_SSL_KEYSTORE_TYPE |
ClientConfiguration |
withSasl(boolean saslEnabled)
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_RPC_SASL_ENABLED. |
ClientConfiguration |
withSasl(boolean saslEnabled,
String kerberosServerPrimary)
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_RPC_SASL_ENABLED and
ClientProperty.GENERAL_KERBEROS_PRINCIPAL. |
ClientConfiguration |
withSsl(boolean sslEnabled)
Same as
withSsl(boolean, boolean) with useJsseConfig set to false |
ClientConfiguration |
withSsl(boolean sslEnabled,
boolean useJsseConfig)
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_RPC_SSL_ENABLED and
ClientProperty.RPC_USE_JSSE |
ClientConfiguration |
withTruststore(String path)
Same as
withTruststore(String) with password null and type null |
ClientConfiguration |
withTruststore(String path,
String password,
String type)
Same as
with(ClientProperty, String) for ClientProperty.RPC_SSL_TRUSTORE_PATH,
ClientProperty.RPC_SSL_TRUSTORE_PASSWORD, and ClientProperty.RPC_SSL_TRUSTORE_TYPE |
ClientConfiguration |
withZkHosts(String zooKeepers)
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_ZK_HOST |
ClientConfiguration |
withZkTimeout(int timeout)
Same as
with(ClientProperty, String) for ClientProperty.INSTANCE_ZK_TIMEOUT |
public static final String USER_ACCUMULO_DIR_NAME
public static final String USER_CONF_FILENAME
public static final String GLOBAL_CONF_FILENAME
@Deprecated public ClientConfiguration(String configFile) throws org.apache.commons.configuration.ConfigurationException
fromFile(File)
instead.org.apache.commons.configuration.ConfigurationException
@Deprecated public ClientConfiguration(File configFile) throws org.apache.commons.configuration.ConfigurationException
fromFile(File)
instead.configFile
- the path to the properties fileorg.apache.commons.configuration.ConfigurationException
@Deprecated public ClientConfiguration(List<? extends org.apache.commons.configuration.Configuration> configs)
@Deprecated public ClientConfiguration(org.apache.commons.configuration.Configuration... configs)
PropertiesConfiguration
,
loadDefault()
public static ClientConfiguration loadDefault()
If ACCUMULO_CLIENT_CONF_PATH is not set, uses the following in this order:
A client configuration will then be read from each location using PropertiesConfiguration to construct a configuration. That means the latest item will be the one in the configuration.
PropertiesConfiguration
,
File.pathSeparator
public static ClientConfiguration create()
public static ClientConfiguration fromFile(File file)
file
- the path to the configuration filepublic static ClientConfiguration fromMap(Map<String,String> properties)
properties
- a map containing the configuration properties to usepublic static ClientConfiguration deserialize(String serializedConfig)
public String serialize()
public String get(ClientConfiguration.ClientProperty prop)
public Map<String,String> getAllPropertiesWithPrefix(ClientConfiguration.ClientProperty property)
property
- prefix property, must be of type PropertyType.PREFIXIllegalArgumentException
- if property is not a prefixpublic void setProperty(ClientConfiguration.ClientProperty prop, String value)
public ClientConfiguration with(ClientConfiguration.ClientProperty prop, String value)
setProperty(ClientProperty, String)
but returns the ClientConfiguration for
chaining purposespublic void setProperty(String prop, String value)
public ClientConfiguration with(String prop, String value)
setProperty(String, String)
but returns the ClientConfiguration for chaining
purposespublic ClientConfiguration withInstance(String instanceName)
with(ClientProperty, String)
for ClientProperty.INSTANCE_NAMEpublic ClientConfiguration withInstance(UUID instanceId)
with(ClientProperty, String)
for ClientProperty.INSTANCE_IDpublic ClientConfiguration withZkHosts(String zooKeepers)
with(ClientProperty, String)
for ClientProperty.INSTANCE_ZK_HOSTpublic ClientConfiguration withZkTimeout(int timeout)
with(ClientProperty, String)
for ClientProperty.INSTANCE_ZK_TIMEOUTpublic ClientConfiguration withSsl(boolean sslEnabled)
withSsl(boolean, boolean)
with useJsseConfig set to falsepublic ClientConfiguration withSsl(boolean sslEnabled, boolean useJsseConfig)
with(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SSL_ENABLED and
ClientProperty.RPC_USE_JSSEpublic ClientConfiguration withTruststore(String path)
withTruststore(String)
with password null and type nullpublic ClientConfiguration withTruststore(String path, String password, String type)
with(ClientProperty, String)
for ClientProperty.RPC_SSL_TRUSTORE_PATH,
ClientProperty.RPC_SSL_TRUSTORE_PASSWORD, and ClientProperty.RPC_SSL_TRUSTORE_TYPEpublic ClientConfiguration withKeystore(String path)
withKeystore(String, String, String)
with password null and type nullpublic ClientConfiguration withKeystore(String path, String password, String type)
with(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SSL_CLIENT_AUTH,
ClientProperty.RPC_SSL_KEYSTORE_PATH, ClientProperty.RPC_SSL_KEYSTORE_PASSWORD, and
ClientProperty.RPC_SSL_KEYSTORE_TYPEpublic ClientConfiguration withSasl(boolean saslEnabled)
with(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SASL_ENABLED.public boolean hasSasl()
public ClientConfiguration withSasl(boolean saslEnabled, String kerberosServerPrimary)
with(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SASL_ENABLED and
ClientProperty.GENERAL_KERBEROS_PRINCIPAL.saslEnabled
- Should SASL(kerberos) be enabledkerberosServerPrimary
- The 'primary' component of the Kerberos principal Accumulo servers use to login (e.g.
'accumulo' in 'accumulo/_HOST@REALM')@Deprecated public org.apache.commons.configuration.Configuration getConfiguration(int index)
getConfiguration
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public org.apache.commons.configuration.Configuration getSource(String key)
getSource
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public void removeConfiguration(org.apache.commons.configuration.Configuration config)
removeConfiguration
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public void addConfiguration(org.apache.commons.configuration.Configuration config)
addConfiguration
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public org.apache.commons.configuration.Configuration getInMemoryConfiguration()
getInMemoryConfiguration
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public org.apache.commons.logging.Log getLogger()
getLogger
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public org.apache.commons.configuration.Configuration subset(String prefix)
subset
in interface org.apache.commons.configuration.Configuration
subset
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public org.apache.commons.configuration.Configuration interpolatedConfiguration()
interpolatedConfiguration
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public void setLogger(org.apache.commons.logging.Log log)
setLogger
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public org.apache.commons.configuration.interpol.ConfigurationInterpolator getInterpolator()
getInterpolator
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public org.apache.commons.lang.text.StrSubstitutor getSubstitutor()
getSubstitutor
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public void append(org.apache.commons.configuration.Configuration c)
append
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public void copy(org.apache.commons.configuration.Configuration c)
copy
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public void addConfigurationListener(org.apache.commons.configuration.event.ConfigurationListener l)
addConfigurationListener
in class org.apache.commons.configuration.event.EventSource
@Deprecated public boolean removeConfigurationListener(org.apache.commons.configuration.event.ConfigurationListener l)
removeConfigurationListener
in class org.apache.commons.configuration.event.EventSource
@Deprecated public boolean removeErrorListener(org.apache.commons.configuration.event.ConfigurationErrorListener l)
removeErrorListener
in class org.apache.commons.configuration.event.EventSource
@Deprecated public void addErrorListener(org.apache.commons.configuration.event.ConfigurationErrorListener l)
addErrorListener
in class org.apache.commons.configuration.event.EventSource
@Deprecated public void addErrorLogListener()
addErrorLogListener
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public void addProperty(String key, Object value)
addProperty
in interface org.apache.commons.configuration.Configuration
addProperty
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated protected void addPropertyDirect(String key, Object token)
addPropertyDirect
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public void clear()
clear
in interface org.apache.commons.configuration.Configuration
clear
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public void clearConfigurationListeners()
clearConfigurationListeners
in class org.apache.commons.configuration.event.EventSource
@Deprecated public void clearErrorListeners()
clearErrorListeners
in class org.apache.commons.configuration.event.EventSource
@Deprecated public void clearProperty(String key)
clearProperty
in interface org.apache.commons.configuration.Configuration
clearProperty
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated protected void clearPropertyDirect(String key)
clearPropertyDirect
in class org.apache.commons.configuration.CompositeConfiguration
public boolean containsKey(String key)
containsKey
in interface org.apache.commons.configuration.Configuration
containsKey
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated protected org.apache.commons.configuration.event.ConfigurationErrorEvent createErrorEvent(int type, String propName, Object propValue, Throwable ex)
createErrorEvent
in class org.apache.commons.configuration.event.EventSource
@Deprecated protected org.apache.commons.configuration.event.ConfigurationEvent createEvent(int type, String propName, Object propValue, boolean before)
createEvent
in class org.apache.commons.configuration.event.EventSource
@Deprecated protected org.apache.commons.configuration.interpol.ConfigurationInterpolator createInterpolator()
createInterpolator
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated protected void fireError(int type, String propName, Object propValue, Throwable ex)
fireError
in class org.apache.commons.configuration.event.EventSource
@Deprecated protected void fireEvent(int type, String propName, Object propValue, boolean before)
fireEvent
in class org.apache.commons.configuration.event.EventSource
@Deprecated public BigDecimal getBigDecimal(String key)
getBigDecimal
in interface org.apache.commons.configuration.Configuration
getBigDecimal
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public BigDecimal getBigDecimal(String key, BigDecimal defaultValue)
getBigDecimal
in interface org.apache.commons.configuration.Configuration
getBigDecimal
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public BigInteger getBigInteger(String key)
getBigInteger
in interface org.apache.commons.configuration.Configuration
getBigInteger
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public BigInteger getBigInteger(String key, BigInteger defaultValue)
getBigInteger
in interface org.apache.commons.configuration.Configuration
getBigInteger
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public boolean getBoolean(String key)
getBoolean
in interface org.apache.commons.configuration.Configuration
getBoolean
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public boolean getBoolean(String key, boolean defaultValue)
getBoolean
in interface org.apache.commons.configuration.Configuration
getBoolean
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Boolean getBoolean(String key, Boolean defaultValue)
getBoolean
in interface org.apache.commons.configuration.Configuration
getBoolean
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public byte getByte(String key)
getByte
in interface org.apache.commons.configuration.Configuration
getByte
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public byte getByte(String key, byte defaultValue)
getByte
in interface org.apache.commons.configuration.Configuration
getByte
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Byte getByte(String key, Byte defaultValue)
getByte
in interface org.apache.commons.configuration.Configuration
getByte
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Collection getConfigurationListeners()
getConfigurationListeners
in class org.apache.commons.configuration.event.EventSource
@Deprecated public double getDouble(String key)
getDouble
in interface org.apache.commons.configuration.Configuration
getDouble
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Double getDouble(String key, Double defaultValue)
getDouble
in interface org.apache.commons.configuration.Configuration
getDouble
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public double getDouble(String key, double defaultValue)
getDouble
in interface org.apache.commons.configuration.Configuration
getDouble
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Collection getErrorListeners()
getErrorListeners
in class org.apache.commons.configuration.event.EventSource
@Deprecated public float getFloat(String key)
getFloat
in interface org.apache.commons.configuration.Configuration
getFloat
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Float getFloat(String key, Float defaultValue)
getFloat
in interface org.apache.commons.configuration.Configuration
getFloat
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public float getFloat(String key, float defaultValue)
getFloat
in interface org.apache.commons.configuration.Configuration
getFloat
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public int getInt(String key)
getInt
in interface org.apache.commons.configuration.Configuration
getInt
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public int getInt(String key, int defaultValue)
getInt
in interface org.apache.commons.configuration.Configuration
getInt
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Integer getInteger(String key, Integer defaultValue)
getInteger
in interface org.apache.commons.configuration.Configuration
getInteger
in class org.apache.commons.configuration.AbstractConfiguration
public Iterator<String> getKeys()
getKeys
in interface org.apache.commons.configuration.Configuration
getKeys
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public Iterator<String> getKeys(String key)
getKeys
in interface org.apache.commons.configuration.Configuration
getKeys
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public List getList(String key)
getList
in interface org.apache.commons.configuration.Configuration
getList
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public List getList(String key, List defaultValue)
getList
in interface org.apache.commons.configuration.Configuration
getList
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public char getListDelimiter()
getListDelimiter
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public long getLong(String key)
getLong
in interface org.apache.commons.configuration.Configuration
getLong
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public long getLong(String key, long defaultValue)
getLong
in interface org.apache.commons.configuration.Configuration
getLong
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Long getLong(String key, Long defaultValue)
getLong
in interface org.apache.commons.configuration.Configuration
getLong
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public int getNumberOfConfigurations()
getNumberOfConfigurations
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public Properties getProperties(String key)
getProperties
in interface org.apache.commons.configuration.Configuration
getProperties
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Properties getProperties(String key, Properties defaults)
getProperties
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Object getProperty(String key)
getProperty
in interface org.apache.commons.configuration.Configuration
getProperty
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public short getShort(String key)
getShort
in interface org.apache.commons.configuration.Configuration
getShort
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public short getShort(String key, short defaultValue)
getShort
in interface org.apache.commons.configuration.Configuration
getShort
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public Short getShort(String key, Short defaultValue)
getShort
in interface org.apache.commons.configuration.Configuration
getShort
in class org.apache.commons.configuration.AbstractConfiguration
public String getString(String key)
getString
in interface org.apache.commons.configuration.Configuration
getString
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public String getString(String key, String defaultValue)
getString
in interface org.apache.commons.configuration.Configuration
getString
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public String[] getStringArray(String key)
getStringArray
in interface org.apache.commons.configuration.Configuration
getStringArray
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated protected Object interpolate(Object value)
interpolate
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated protected String interpolate(String base)
interpolate
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated protected String interpolateHelper(String base, List priorVariables)
interpolateHelper
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public boolean isDelimiterParsingDisabled()
isDelimiterParsingDisabled
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public boolean isDetailEvents()
isDetailEvents
in class org.apache.commons.configuration.event.EventSource
@Deprecated public boolean isEmpty()
isEmpty
in interface org.apache.commons.configuration.Configuration
isEmpty
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public boolean isThrowExceptionOnMissing()
isThrowExceptionOnMissing
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated protected Object resolveContainerStore(String key)
resolveContainerStore
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public void setDelimiterParsingDisabled(boolean delimiterParsingDisabled)
setDelimiterParsingDisabled
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public void setDetailEvents(boolean enable)
setDetailEvents
in class org.apache.commons.configuration.event.EventSource
@Deprecated public void setListDelimiter(char listDelimiter)
setListDelimiter
in class org.apache.commons.configuration.CompositeConfiguration
@Deprecated public void setProperty(String key, Object value)
setProperty
in interface org.apache.commons.configuration.Configuration
setProperty
in class org.apache.commons.configuration.AbstractConfiguration
@Deprecated public void setThrowExceptionOnMissing(boolean throwExceptionOnMissing)
setThrowExceptionOnMissing
in class org.apache.commons.configuration.AbstractConfiguration
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.