public interface ResourceConfiguration
Modifier and Type | Method and Description |
---|---|
String |
get(String keyName,
String defaultValue)
Returns a configuration value for the specified key.
|
ClassLoader |
getClassLoader()
Returns a class loader for this configuration.
|
void |
set(String keyName,
String value)
Sets a configuration value for the specified key.
|
String get(String keyName, String defaultValue)
keyName
- the key namedefaultValue
- the default value (nullable)defaultValue
if it is not definedIllegalArgumentException
- if keyName
is null
void set(String keyName, String value)
keyName
- the key namevalue
- the configuration value, or null
to delete its propertyIllegalArgumentException
- if keyName
is null
ClassLoader getClassLoader()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.