Class MetadataProperties.FromFileProperties

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

    private static class MetadataProperties.FromFileProperties
    extends java.util.Properties
    Properties that also use the default value passed to getProperty() if the property was found, but matched the regex passed at initialization.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.regex.Pattern unpropagatedValuePattern  
      • Fields inherited from class java.util.Properties

        defaults
    • Constructor Summary

      Constructors 
      Constructor Description
      FromFileProperties​(java.util.regex.Pattern pattern)  
    • Method Summary

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

        clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, 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
    • Field Detail

      • unpropagatedValuePattern

        private final java.util.regex.Pattern unpropagatedValuePattern
    • Constructor Detail

      • FromFileProperties

        FromFileProperties​(java.util.regex.Pattern pattern)
    • Method Detail

      • getProperty

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