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 a future release- See Also:
one.microstream.storage.configuration
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConfigurationParser.IniConfigurationParserDeprecated.static classConfigurationParser.XmlConfigurationParserDeprecated. -
Method Summary
Modifier and Type Method Description static ConfigurationParserIni()Deprecated.Creates a newConfigurationParserwhich reads ini, or property files.static ConfigurationParserIni(ConfigurationPropertyParser propertyParser)Deprecated.Creates a newConfigurationParserwhich reads ini, or property files.default Configurationparse(String data)Deprecated.Parses the configuration from the given input.Configurationparse(Configuration configuration, String data)Deprecated.Parses the configuration from the given input.static ConfigurationParserXml()Deprecated.Creates a newConfigurationParserwhich reads xml files.static ConfigurationParserXml(ConfigurationPropertyParser propertyParser)Deprecated.Creates a newConfigurationParserwhich 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 newConfigurationParserwhich reads ini, or property files. -
Ini
Deprecated.Creates a newConfigurationParserwhich reads ini, or property files.- Parameters:
propertyParser- a custom property parser
-
Xml
Deprecated.Creates a newConfigurationParserwhich reads xml files. -
Xml
Deprecated.Creates a newConfigurationParserwhich reads xml files.- Parameters:
propertyParser- a custom property parser
-