Class UtilProperties.ExtendedProperties

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​java.lang.Object>
    Enclosing class:
    UtilProperties

    public static class UtilProperties.ExtendedProperties
    extends java.util.Properties
    Custom Properties class. Extended from Properties to add support for the OFBiz custom XML file format.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.Properties

        defaults
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void loadFromXML​(java.io.InputStream in)  
      • Methods inherited from class java.util.Properties

        clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ExtendedProperties

        public ExtendedProperties()
      • ExtendedProperties

        public ExtendedProperties​(java.util.Properties defaults)
      • ExtendedProperties

        public ExtendedProperties​(java.net.URL url,
                                  java.util.Locale locale)
                           throws java.io.IOException,
                                  java.util.InvalidPropertiesFormatException
        Throws:
        java.io.IOException
        java.util.InvalidPropertiesFormatException
    • Method Detail

      • loadFromXML

        public void loadFromXML​(java.io.InputStream in)
                         throws java.io.IOException,
                                java.util.InvalidPropertiesFormatException
        Overrides:
        loadFromXML in class java.util.Properties
        Throws:
        java.io.IOException
        java.util.InvalidPropertiesFormatException