public interface Configuration
Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String key) |
String |
getAttribute(String key,
String defaultValue) |
boolean |
getAttributeAsBoolean(String key,
boolean defaultValue) |
float |
getAttributeAsFloat(String key) |
float |
getAttributeAsFloat(String key,
float defaultValue) |
int |
getAttributeAsInteger(String key,
int defaultValue) |
String[] |
getAttributeNames() |
Configuration |
getChild(String key) |
Configuration |
getChild(String key,
boolean required) |
Configuration[] |
getChildren(String key) |
String |
getLocation() |
String |
getValue() |
String |
getValue(String defaultValue) |
boolean |
getValueAsBoolean() |
boolean |
getValueAsBoolean(boolean defaultValue) |
float |
getValueAsFloat() |
float |
getValueAsFloat(float defaultValue) |
int |
getValueAsInteger() |
int |
getValueAsInteger(int defaultValue) |
Configuration getChild(String key)
Configuration getChild(String key, boolean required)
Configuration[] getChildren(String key)
String[] getAttributeNames()
String getAttribute(String key) throws ConfigurationException
ConfigurationException
boolean getAttributeAsBoolean(String key, boolean defaultValue)
float getAttributeAsFloat(String key) throws ConfigurationException
ConfigurationException
float getAttributeAsFloat(String key, float defaultValue)
int getAttributeAsInteger(String key, int defaultValue)
String getValue() throws ConfigurationException
ConfigurationException
boolean getValueAsBoolean() throws ConfigurationException
ConfigurationException
boolean getValueAsBoolean(boolean defaultValue)
int getValueAsInteger() throws ConfigurationException
ConfigurationException
int getValueAsInteger(int defaultValue)
float getValueAsFloat() throws ConfigurationException
ConfigurationException
float getValueAsFloat(float defaultValue)
String getLocation()
Copyright © 2025 Apache Software Foundation. All rights reserved.