Class SelfCleaningProperties

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

    public class SelfCleaningProperties
    extends OrderedOutputProperties
    This is a self cleaning properties implementation. The cleaning is done after loading the properties.
    Author:
    Ilja Pavkovic
    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 load​(java.io.InputStream inStream)
      Loads the properties from the given input stream and cleans them afterwards.
      • 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, keySet, list, list, load, loadFromXML, 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

      • SelfCleaningProperties

        public SelfCleaningProperties()
        Creates new SelfCleaningProperties
      • SelfCleaningProperties

        public SelfCleaningProperties​(java.util.Properties defaults)
        Creates a new SelfCleaningProperties object.
        Parameters:
        defaults - the defaults.
    • Method Detail

      • load

        public void load​(java.io.InputStream inStream)
                  throws java.io.IOException
        Loads the properties from the given input stream and cleans them afterwards.
        Overrides:
        load in class java.util.Properties
        Throws:
        java.io.IOException