Class IniProperties

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

    public class IniProperties
    extends AbstractProperties
    Functionally like the CustomProperties class in that it has comments and an order, IniProperties reads .ini files. These implicitly have a two level dotted notation, though any values not in the two level are treated as simple one levels. Comments are a semi-colon.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.Properties

        defaults
    • Constructor Summary

      Constructors 
      Constructor Description
      IniProperties()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void load​(java.io.InputStream in)
      Load in a .ini file.
      • 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, list, list, load, loadFromXML, merge, putAll, putIfAbsent, rehash, remove, replace, replace, replaceAll, size, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
      • Methods inherited from class java.lang.Object

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

      • IniProperties

        public IniProperties()
    • Method Detail

      • load

        public void load​(java.io.InputStream in)
                  throws java.io.IOException
        Load in a .ini file. semi-colons are comments. blocks are denoted with square brackets. values are then key=value pairs, with blocks being prepended to keys.
        Specified by:
        load in class AbstractProperties
        Throws:
        java.io.IOException