Properties.XmlLoader

  • Properties.XmlLoader enables optional XML support to avoid unnecessary dependencies.

  • It includes a single public field INSTANCE representing the XmlLoader.

  • The load method parses XML data from an InputStream and populates a Properties object.

  • Potential exceptions during loading include IOException and InvalidPropertiesFormatException.

public static interface Properties.XmlLoader

Creates a dynamic dependency on XML support so that XML support can be excluded from the application binary without incurring link errors.

Field Summary

public static final Properties.XmlLoader INSTANCE

Public Method Summary

abstract void

Fields

public static final Properties.XmlLoader INSTANCE

Public Methods

public abstract void load (Properties p, InputStream in)