Interface ConfigurationParser
- All Known Implementing Classes:
ConfigurationParser.IniConfigurationParser
,ConfigurationParser.XmlConfigurationParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated @FunctionalInterface public interface ConfigurationParser
Deprecated.
replaced by generic
ConfigurationParser
, will be removed in version 8- See Also:
one.microstream.storage.configuration
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ConfigurationParser.IniConfigurationParser
Deprecated.static class
ConfigurationParser.XmlConfigurationParser
Deprecated. -
Method Summary
Modifier and Type Method Description static ConfigurationParser
Ini()
Deprecated.Creates a newConfigurationParser
which reads ini, or property files.static ConfigurationParser
Ini(ConfigurationPropertyParser propertyParser)
Deprecated.Creates a newConfigurationParser
which reads ini, or property files.default Configuration
parse(String data)
Deprecated.Parses the configuration from the given input.Configuration
parse(Configuration configuration, String data)
Deprecated.Parses the configuration from the given input.static ConfigurationParser
Xml()
Deprecated.Creates a newConfigurationParser
which reads xml files.static ConfigurationParser
Xml(ConfigurationPropertyParser propertyParser)
Deprecated.Creates a newConfigurationParser
which reads xml files.
-
Method Details
-
parse
Deprecated.Parses the configuration from the given input.- Parameters:
data
- the input to parse- Returns:
- the parsed configuration
- Throws:
StorageConfigurationException
- if an error occurs while parsing
-
parse
Deprecated.Parses the configuration from the given input.- Parameters:
configuration
- the configuration to populatedata
- the input to parse- Returns:
- the given configuration
- Throws:
StorageConfigurationException
- if an error occurs while parsing
-
Ini
Deprecated.Creates a newConfigurationParser
which reads ini, or property files.- Returns:
- the newly created
ConfigurationParser
-
Ini
Deprecated.Creates a newConfigurationParser
which reads ini, or property files.- Parameters:
propertyParser
- a custom property parser- Returns:
- the newly created
ConfigurationParser
-
Xml
Deprecated.Creates a newConfigurationParser
which reads xml files.- Returns:
- the newly created
ConfigurationParser
-
Xml
Deprecated.Creates a newConfigurationParser
which reads xml files.- Parameters:
propertyParser
- a custom property parser- Returns:
- the newly created
ConfigurationParser
-