Interface ConfigurationMapper
- All Superinterfaces:
ConfigurationParser
,ConfigurationWriter
Interface for format provider classes that implement a parser and a writer at the same time.
Implementations of this class should be registered with ServiceLoader
.
-
Method Summary
Modifier and TypeMethodDescriptionA short string that identifies the format supported by this mapper.A description of the supported format for self-documentation purposes.default String
A short string that identifies the format supported by this parser.default String
A description of the supported format for self-documentation purposes.default String
A short string that identifies the format supported by this writer.default String
A description of the supported format for self-documentation purposes.Methods inherited from interface org.apache.logging.converter.config.spi.ConfigurationParser
parse
Methods inherited from interface org.apache.logging.converter.config.spi.ConfigurationWriter
writeConfiguration
-
Method Details
-
getFormat
String getFormat()A short string that identifies the format supported by this mapper.For example, "v2:xml" or "v1:properties".
-
getFormatDescription
String getFormatDescription()A description of the supported format for self-documentation purposes. -
getInputFormat
Description copied from interface:ConfigurationParser
A short string that identifies the format supported by this parser.For example, "v2:xml" or "v1:properties".
- Specified by:
getInputFormat
in interfaceConfigurationParser
-
getInputFormatDescription
Description copied from interface:ConfigurationParser
A description of the supported format for self-documentation purposes.- Specified by:
getInputFormatDescription
in interfaceConfigurationParser
-
getOutputFormat
Description copied from interface:ConfigurationWriter
A short string that identifies the format supported by this writer.For example, "v2:xml" or "v1:properties".
- Specified by:
getOutputFormat
in interfaceConfigurationWriter
-
getOutputFormatDescription
Description copied from interface:ConfigurationWriter
A description of the supported format for self-documentation purposes.- Specified by:
getOutputFormatDescription
in interfaceConfigurationWriter
-