Class TypedProperties

All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
Direct Known Subclasses:
EnvironmentSpecificProperties, SortedProperties

public class TypedProperties extends Properties
See Also:
  • Constructor Details

    • TypedProperties

      public TypedProperties(InputStream is)
    • TypedProperties

      public TypedProperties()
    • TypedProperties

      public TypedProperties(File file)
    • TypedProperties

      public TypedProperties(Properties properties)
  • Method Details

    • put

      public Object put(Object key, Object value)
      Specified by:
      put in interface Map<Object,Object>
      Overrides:
      put in class Properties
    • putAll

      public final void putAll(Properties properties)
    • getLong

      public long getLong(String key)
    • getLong

      public long getLong(String key, long defaultValue)
    • getInt

      public int getInt(String key)
    • getInt

      public int getInt(String key, int defaultValue)
    • is

      public boolean is(String key)
    • is

      public boolean is(String key, boolean defaultValue)
    • get

      public String get(String key)
    • get

      public String get(String key, String defaultValue)
    • setProperty

      public void setProperty(String key, int value)
    • setProperty

      public void setProperty(String key, long value)
    • getArray

      public String[] getArray(String key, String[] defaultValue)
    • instantiate

      public <T> List<T> instantiate(String key)
    • merge

      public void merge(Properties properties)
    • copy

      public TypedProperties copy()
    • logPropertiesException

      public static void logPropertiesException(org.slf4j.Logger logger, String key, String val)