@ProviderType
public interface ConfigurationReader
ConfigurationReader.Builder
.Modifier and Type | Interface and Description |
---|---|
static interface |
ConfigurationReader.BinaryHandler
Handler for binary properties
|
static interface |
ConfigurationReader.Builder
Builder to create a reader.
|
static interface |
ConfigurationReader.ConfiguratorPropertyHandler
Handler for configurator properties
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getIgnoredErrors()
After reading a configuration (resource) this method will return a list of
ignored errors.
|
Hashtable<String,Object> |
readConfiguration()
Read a single configuration from the provided reader.
|
ConfigurationResource |
readConfigurationResource()
Read a configuration resource from the provided reader.
|
Hashtable<String,Object> readConfiguration() throws IOException
getIgnoredErrors()
can be used after reading if any ignored
errors occurred during processing the configuration.IOException
- If reading failsConfigurationResource readConfigurationResource() throws IOException
getIgnoredErrors()
can be used after reading if any ignored
errors occurred during processing the resource.IOException
- If reading failsCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.