Class XmlPropertiesConfigurationFileFormat

java.lang.Object
io.confound.config.file.format.properties.XmlPropertiesConfigurationFileFormat
All Implemented Interfaces:
io.confound.config.file.ConfigurationFileFormat

public class XmlPropertiesConfigurationFileFormat extends Object implements io.confound.config.file.ConfigurationFileFormat
File format implementation for a configuration stored in XML properties format.

This implementation recognizes files with the extension suffix "properties.xml", stored in the XML schema recognized by Properties.loadFromXML(InputStream).

Author:
Garret Wilson
See Also:
  • Field Details

  • Constructor Details

    • XmlPropertiesConfigurationFileFormat

      public XmlPropertiesConfigurationFileFormat()
  • Method Details

    • getFilenameExtensions

      public Set<String> getFilenameExtensions()
      Specified by:
      getFilenameExtensions in interface io.confound.config.file.ConfigurationFileFormat
    • load

      public io.confound.config.Configuration load(InputStream inputStream) throws IOException
      Specified by:
      load in interface io.confound.config.file.ConfigurationFileFormat
      Throws:
      IOException