public class NullConfigStorage extends java.lang.Object implements ConfigStorage
| Constructor and Description |
|---|
NullConfigStorage()
DefaultConstructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAvailable(java.lang.String configPath)
Tests, whether some configuration data exists for the given configuration.
|
org.pentaho.reporting.libraries.base.config.Configuration |
load(java.lang.String configPath,
org.pentaho.reporting.libraries.base.config.Configuration defaults)
Loads the properties from the given path, specifying the given properties as
default.
|
void |
store(java.lang.String configPath,
org.pentaho.reporting.libraries.base.config.Configuration properties)
This method does nothing.
|
public void store(java.lang.String configPath,
org.pentaho.reporting.libraries.base.config.Configuration properties)
store in interface ConfigStorageconfigPath - this parameter is not used.properties - this parameter is not used.(java.lang.String, java.util.Properties)public org.pentaho.reporting.libraries.base.config.Configuration load(java.lang.String configPath,
org.pentaho.reporting.libraries.base.config.Configuration defaults)
throws ConfigStoreException
load in interface ConfigStorageconfigPath - the configuration path from where to read the properties.defaults - the property set that acts as fallback to provide default values.ConfigStoreException - always throws this exception as the specified resource
will be not available.public boolean isAvailable(java.lang.String configPath)
isAvailable in interface ConfigStorageconfigPath - the configuration path to the property storage.