Class UrlMapperHandler.MapProperties

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

    public class UrlMapperHandler.MapProperties
    extends java.util.Properties
    Look in a dictionary first, then the provided properties. XXX There are lots of little classes like this sprinkled throught the code. They should be consolidated. This is for Format.subst, and is not a complete implementation.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.Properties

        defaults
    • Constructor Summary

      Constructors 
      Constructor Description
      MapProperties​(java.util.Properties props, java.util.Dictionary dict)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addItem​(java.lang.String name, java.lang.String value)  
      java.lang.String getProperty​(java.lang.String key)  
      java.lang.String getProperty​(java.lang.String key, java.lang.String dflt)  
      • Methods inherited from class java.util.Properties

        clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, list, list, load, 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

      • MapProperties

        public MapProperties​(java.util.Properties props,
                             java.util.Dictionary dict)
    • Method Detail

      • addItem

        public void addItem​(java.lang.String name,
                            java.lang.String value)
      • getProperty

        public java.lang.String getProperty​(java.lang.String key,
                                            java.lang.String dflt)
        Overrides:
        getProperty in class java.util.Properties
      • getProperty

        public java.lang.String getProperty​(java.lang.String key)
        Overrides:
        getProperty in class java.util.Properties