Class StringBasedTypedProperties

    • Constructor Detail

      • StringBasedTypedProperties

        protected StringBasedTypedProperties()
    • Method Detail

      • getBoolean

        public boolean getBoolean​(String key,
                                  boolean defaultValue)
        Description copied from class: TypedProperties
        Get the value of the property identified by the key as boolean. If key is null or there is no property for the key, defaultValue is returned.
        Specified by:
        getBoolean in class TypedProperties
      • getFloat

        public float getFloat​(String key,
                              float defaultValue)
        Description copied from class: TypedProperties
        Get the value of the property identified by the key as float. If key is null or there is no property for the key, defaultValue is returned.
        Specified by:
        getFloat in class TypedProperties
      • getInt

        public int getInt​(String key,
                          int defaultValue)
        Description copied from class: TypedProperties
        Get the value of the property identified by the key as int. If key is null or there is no property for the key, defaultValue is returned.
        Specified by:
        getInt in class TypedProperties
      • getLong

        public long getLong​(String key,
                            long defaultValue)
        Description copied from class: TypedProperties
        Get the value of the property identified by the key as long. If key is null or there is no property for the key, defaultValue is returned.
        Specified by:
        getLong in class TypedProperties
      • setBoolean

        public void setBoolean​(String key,
                               boolean value)
        Description copied from class: TypedProperties
        Set the value to the property identified by the key. If key is null, nothing is done.
        Specified by:
        setBoolean in class TypedProperties
      • setFloat

        public void setFloat​(String key,
                             float value)
        Description copied from class: TypedProperties
        Set the value to the property identified by the key. If key is null, nothing is done.
        Specified by:
        setFloat in class TypedProperties
      • setInt

        public void setInt​(String key,
                           int value)
        Description copied from class: TypedProperties
        Set the value to the property identified by the key. If key is null, nothing is done.
        Specified by:
        setInt in class TypedProperties
      • setLong

        public void setLong​(String key,
                            long value)
        Description copied from class: TypedProperties
        Set the value to the property identified by the key. If key is null, nothing is done.
        Specified by:
        setLong in class TypedProperties