Interface PropertiesAccessorMixin

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.String[] asArray​(java.lang.Object aKey)
      Same as asArray(String, char) using a comma (',') as delimiter.
      default java.lang.String[] asArray​(java.lang.Object aKey, char aDelimiter)
      Treats the value associated with the given key as an array with its elements being the elements of the value separated by the given delimiter char.
      default java.lang.String[] asArray​(java.lang.String aKey)
      Same as asArray(String, char) using a comma (',') as delimiter.
      default java.lang.String[] asArray​(java.lang.String aKey, char aDelimiter)
      Treats the value associated with the given key as an array with its elements being the elements of the value separated by the given delimiter char.
      default boolean[] asBooleanArray​(java.lang.Object aKey)
      Same as asBooleanArray(String, char) using a comma (',') as delimiter.
      default boolean[] asBooleanArray​(java.lang.Object aKey, char aDelimiter)
      Treats the value associated with the given key as a boolean array with its elements being the elements of the value separated by the given delimiter char.
      default boolean[] asBooleanArray​(java.lang.String aKey)
      Same as asBooleanArray(String, char) using a comma (',') as delimiter.
      default boolean[] asBooleanArray​(java.lang.String aKey, char aDelimiter)
      Treats the value associated with the given key as a boolean array with its elements being the elements of the value separated by the given delimiter char.
      default byte[] asByteArray​(java.lang.Object aKey)
      Same as asByteArray(String, char) using a comma (',') as delimiter.
      default byte[] asByteArray​(java.lang.Object aKey, char aDelimiter)
      Treats the value associated with the given key as a byte array with its elements being the elements of the value separated by the given delimiter char.
      default byte[] asByteArray​(java.lang.String aKey)
      Same as asByteArray(String, char) using a comma (',') as delimiter.
      default byte[] asByteArray​(java.lang.String aKey, char aDelimiter)
      Treats the value associated with the given key as a byte array with its elements being the elements of the value separated by the given delimiter char.
      default char[] asCharacterArray​(java.lang.Object aKey)
      Same as asCharacterArray(String, char) using a comma (',') as delimiter.
      default char[] asCharacterArray​(java.lang.Object aKey, char aDelimiter)
      Treats the value associated with the given key as a char array with its elements being the elements of the value separated by the given delimiter char.
      default char[] asCharacterArray​(java.lang.String aKey)
      Same as asCharacterArray(String, char) using a comma (',') as delimiter.
      default char[] asCharacterArray​(java.lang.String aKey, char aDelimiter)
      Treats the value associated with the given key as a char array with its elements being the elements of the value separated by the given delimiter char.
      default double[] asDoubleArray​(java.lang.Object aKey)
      Same as asDoubleArray(String, char) using a comma (',') as delimiter.
      default double[] asDoubleArray​(java.lang.Object aKey, char aDelimiter)
      Treats the value associated with the given key as a double array with its elements being the elements of the value separated by the given delimiter double.
      default double[] asDoubleArray​(java.lang.String aKey)
      Same as asDoubleArray(String, char) using a comma (',') as delimiter.
      default double[] asDoubleArray​(java.lang.String aKey, char aDelimiter)
      Treats the value associated with the given key as a double array with its elements being the elements of the value separated by the given delimiter double.
      default float[] asFloatArray​(java.lang.Object aKey)
      Same as asFloatArray(String, char) using a comma (',') as delimiter.
      default float[] asFloatArray​(java.lang.Object aKey, char aDelimiter)
      Treats the value associated with the given key as a float array with its elements being the elements of the value separated by the given delimiter float.
      default float[] asFloatArray​(java.lang.String aKey)
      Same as asFloatArray(String, char) using a comma (',') as delimiter.
      default float[] asFloatArray​(java.lang.String aKey, char aDelimiter)
      Treats the value associated with the given key as a float array with its elements being the elements of the value separated by the given delimiter float.
      default int[] asIntegerArray​(java.lang.Object aKey)
      Same as asIntegerArray(String, char) using a comma (',') as delimiter.
      default int[] asIntegerArray​(java.lang.Object aKey, char aDelimiter)
      Treats the value associated with the given key as a integer array with its elements being the elements of the value separated by the given delimiter char.
      default int[] asIntegerArray​(java.lang.String aKey)
      Same as asIntegerArray(String, char) using a comma (',') as delimiter.
      default int[] asIntegerArray​(java.lang.String aKey, char aDelimiter)
      Treats the value associated with the given key as a integer array with its elements being the elements of the value separated by the given delimiter char.
      default long[] asLongArray​(java.lang.Object aKey)
      Same as asLongArray(String, char) using a comma (',') as delimiter.
      default long[] asLongArray​(java.lang.Object aKey, char aDelimiter)
      Treats the value associated with the given key as a longeger array with its elements being the elements of the value separated by the given delimiter char.
      default long[] asLongArray​(java.lang.String aKey)
      Same as asLongArray(String, char) using a comma (',') as delimiter.
      default long[] asLongArray​(java.lang.String aKey, char aDelimiter)
      Treats the value associated with the given key as a longeger array with its elements being the elements of the value separated by the given delimiter char.
      default short[] asShortArray​(java.lang.Object aKey)
      Same as asShortArray(String, char) using a comma (',') as delimiter.
      default short[] asShortArray​(java.lang.Object aKey, char aDelimiter)
      Treats the value associated with the given key as a shorteger array with its elements being the elements of the value separated by the given delimiter char.
      default short[] asShortArray​(java.lang.String aKey)
      Same as asShortArray(String, char) using a comma (',') as delimiter.
      default short[] asShortArray​(java.lang.String aKey, char aDelimiter)
      Treats the value associated with the given key as a shorteger array with its elements being the elements of the value separated by the given delimiter char.
      default java.lang.Boolean getBoolean​(java.lang.Object aKey)
      Returns the Boolean value of the property referred to by the key.
      default java.lang.Boolean getBoolean​(java.lang.String aKey)
      Returns the Boolean value of the property referred to by the key.
      default java.lang.Boolean getBooleanOr​(java.lang.Object aKey, java.lang.Boolean aDefaultValue)
      Returns the Boolean value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Boolean getBooleanOr​(java.lang.String aKey, java.lang.Boolean aDefaultValue)
      Returns the Boolean value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Byte getByte​(java.lang.Object aKey)
      Returns the Byte value of the property referred to by the key.
      default java.lang.Byte getByte​(java.lang.String aKey)
      Returns the Byte value of the property referred to by the key.
      default java.lang.Byte getByteOr​(java.lang.Object aKey, java.lang.Byte aDefaultValue)
      Returns the Byte value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Byte getByteOr​(java.lang.String aKey, java.lang.Byte aDefaultValue)
      Returns the Byte value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Character getCharacter​(java.lang.Object aKey)
      Returns the Character value of the property referred to by the key.
      default java.lang.Character getCharacter​(java.lang.String aKey)
      Returns the Character value of the property referred to by the key.
      default java.lang.Character getCharacterOr​(java.lang.Object aKey, java.lang.Character aDefaultValue)
      Returns the Character value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Character getCharacterOr​(java.lang.String aKey, java.lang.Character aDefaultValue)
      Returns the Character value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Double getDouble​(java.lang.Object aKey)
      Returns the Double value of the property referred to by the key.
      default java.lang.Double getDouble​(java.lang.String aKey)
      Returns the Double value of the property referred to by the key.
      default java.lang.Double getDoubleOr​(java.lang.Object aKey, java.lang.Double aDefaultValue)
      Returns the Double value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Double getDoubleOr​(java.lang.String aKey, java.lang.Double aDefaultValue)
      Returns the Double value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Float getFloat​(java.lang.Object aKey)
      Returns the Float value of the property referred to by the key.
      default java.lang.Float getFloat​(java.lang.String aKey)
      Returns the Float value of the property referred to by the key.
      default java.lang.Float getFloatOr​(java.lang.Object aKey, java.lang.Float aDefaultValue)
      Returns the Float value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Float getFloatOr​(java.lang.String aKey, java.lang.Float aDefaultValue)
      Returns the Float value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Integer getInteger​(java.lang.Object aKey)
      Returns the Integer value of the property referred to by the key.
      default java.lang.Integer getInteger​(java.lang.String aKey)
      Returns the Integer value of the property referred to by the key.
      default java.lang.Integer getIntegerOr​(java.lang.Object aKey, java.lang.Integer aDefaultValue)
      Returns the Integer value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Integer getIntegerOr​(java.lang.String aKey, java.lang.Integer aDefaultValue)
      Returns the Integer value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Long getLong​(java.lang.Object aKey)
      Returns the Long value of the property referred to by the key.
      default java.lang.Long getLong​(java.lang.String aKey)
      Returns the Long value of the property referred to by the key.
      default java.lang.Long getLongOr​(java.lang.Object aKey, java.lang.Long aDefaultValue)
      Returns the Long value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Long getLongOr​(java.lang.String aKey, java.lang.Long aDefaultValue)
      Returns the Long value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Short getShort​(java.lang.Object aKey)
      Returns the Short value of the property referred to by the key.
      default java.lang.Short getShort​(java.lang.String aKey)
      Returns the Short value of the property referred to by the key.
      default java.lang.Short getShortOr​(java.lang.Object aKey, java.lang.Short aDefaultValue)
      Returns the Short value of the property referred to by the key or the provided default value if there is no such value for the given key.
      default java.lang.Short getShortOr​(java.lang.String aKey, java.lang.Short aDefaultValue)
      Returns the Short value of the property referred to by the key or the provided default value if there is no such value for the given key.
    • Method Detail

      • asArray

        default java.lang.String[] asArray​(java.lang.Object aKey)
        Same as asArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
      • asArray

        default java.lang.String[] asArray​(java.lang.Object aKey,
                                           char aDelimiter)
        Treats the value associated with the given key as an array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "1, 2, 3, 4, 5", then the corresponding array, when using the comma (',') char as delimiter, will be { "1", "2", "3", "4", "5" }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
      • asArray

        default java.lang.String[] asArray​(java.lang.String aKey)
        Same as asArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
      • asArray

        default java.lang.String[] asArray​(java.lang.String aKey,
                                           char aDelimiter)
        Treats the value associated with the given key as an array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "1, 2, 3, 4, 5", then the corresponding array, when using the comma (',') char as delimiter, will be { "1", "2", "3", "4", "5" }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
      • asBooleanArray

        default boolean[] asBooleanArray​(java.lang.Object aKey)
                                  throws java.lang.NumberFormatException
        Same as asBooleanArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asBooleanArray

        default boolean[] asBooleanArray​(java.lang.Object aKey,
                                         char aDelimiter)
                                  throws java.lang.NumberFormatException
        Treats the value associated with the given key as a boolean array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asBooleanArray

        default boolean[] asBooleanArray​(java.lang.String aKey)
                                  throws java.lang.NumberFormatException
        Same as asBooleanArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asBooleanArray

        default boolean[] asBooleanArray​(java.lang.String aKey,
                                         char aDelimiter)
                                  throws java.lang.NumberFormatException
        Treats the value associated with the given key as a boolean array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asByteArray

        default byte[] asByteArray​(java.lang.Object aKey)
                            throws java.lang.NumberFormatException
        Same as asByteArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asByteArray

        default byte[] asByteArray​(java.lang.Object aKey,
                                   char aDelimiter)
                            throws java.lang.NumberFormatException
        Treats the value associated with the given key as a byte array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asByteArray

        default byte[] asByteArray​(java.lang.String aKey)
                            throws java.lang.NumberFormatException
        Same as asByteArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asByteArray

        default byte[] asByteArray​(java.lang.String aKey,
                                   char aDelimiter)
                            throws java.lang.NumberFormatException
        Treats the value associated with the given key as a byte array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asCharacterArray

        default char[] asCharacterArray​(java.lang.Object aKey)
                                 throws java.lang.NumberFormatException
        Same as asCharacterArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asCharacterArray

        default char[] asCharacterArray​(java.lang.Object aKey,
                                        char aDelimiter)
                                 throws java.lang.NumberFormatException
        Treats the value associated with the given key as a char array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asCharacterArray

        default char[] asCharacterArray​(java.lang.String aKey)
                                 throws java.lang.NumberFormatException
        Same as asCharacterArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asCharacterArray

        default char[] asCharacterArray​(java.lang.String aKey,
                                        char aDelimiter)
                                 throws java.lang.NumberFormatException
        Treats the value associated with the given key as a char array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asDoubleArray

        default double[] asDoubleArray​(java.lang.Object aKey)
                                throws java.lang.NumberFormatException
        Same as asDoubleArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asDoubleArray

        default double[] asDoubleArray​(java.lang.Object aKey,
                                       char aDelimiter)
                                throws java.lang.NumberFormatException
        Treats the value associated with the given key as a double array with its elements being the elements of the value separated by the given delimiter double. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') double as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asDoubleArray

        default double[] asDoubleArray​(java.lang.String aKey)
                                throws java.lang.NumberFormatException
        Same as asDoubleArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asDoubleArray

        default double[] asDoubleArray​(java.lang.String aKey,
                                       char aDelimiter)
                                throws java.lang.NumberFormatException
        Treats the value associated with the given key as a double array with its elements being the elements of the value separated by the given delimiter double. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') double as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asFloatArray

        default float[] asFloatArray​(java.lang.Object aKey)
                              throws java.lang.NumberFormatException
        Same as asFloatArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asFloatArray

        default float[] asFloatArray​(java.lang.Object aKey,
                                     char aDelimiter)
                              throws java.lang.NumberFormatException
        Treats the value associated with the given key as a float array with its elements being the elements of the value separated by the given delimiter float. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') float as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asFloatArray

        default float[] asFloatArray​(java.lang.String aKey)
                              throws java.lang.NumberFormatException
        Same as asFloatArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asFloatArray

        default float[] asFloatArray​(java.lang.String aKey,
                                     char aDelimiter)
                              throws java.lang.NumberFormatException
        Treats the value associated with the given key as a float array with its elements being the elements of the value separated by the given delimiter float. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') float as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asIntegerArray

        default int[] asIntegerArray​(java.lang.Object aKey)
                              throws java.lang.NumberFormatException
        Same as asIntegerArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asIntegerArray

        default int[] asIntegerArray​(java.lang.Object aKey,
                                     char aDelimiter)
                              throws java.lang.NumberFormatException
        Treats the value associated with the given key as a integer array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asIntegerArray

        default int[] asIntegerArray​(java.lang.String aKey)
                              throws java.lang.NumberFormatException
        Same as asIntegerArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asIntegerArray

        default int[] asIntegerArray​(java.lang.String aKey,
                                     char aDelimiter)
                              throws java.lang.NumberFormatException
        Treats the value associated with the given key as a integer array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asLongArray

        default long[] asLongArray​(java.lang.Object aKey)
                            throws java.lang.NumberFormatException
        Same as asLongArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asLongArray

        default long[] asLongArray​(java.lang.Object aKey,
                                   char aDelimiter)
                            throws java.lang.NumberFormatException
        Treats the value associated with the given key as a longeger array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asLongArray

        default long[] asLongArray​(java.lang.String aKey)
                            throws java.lang.NumberFormatException
        Same as asLongArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asLongArray

        default long[] asLongArray​(java.lang.String aKey,
                                   char aDelimiter)
                            throws java.lang.NumberFormatException
        Treats the value associated with the given key as a longeger array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asShortArray

        default short[] asShortArray​(java.lang.Object aKey)
                              throws java.lang.NumberFormatException
        Same as asShortArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asShortArray

        default short[] asShortArray​(java.lang.Object aKey,
                                     char aDelimiter)
                              throws java.lang.NumberFormatException
        Treats the value associated with the given key as a shorteger array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • asShortArray

        default short[] asShortArray​(java.lang.String aKey)
                              throws java.lang.NumberFormatException
        Same as asShortArray(String, char) using a comma (',') as delimiter.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException
      • asShortArray

        default short[] asShortArray​(java.lang.String aKey,
                                     char aDelimiter)
                              throws java.lang.NumberFormatException
        Treats the value associated with the given key as a shorteger array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.
        Parameters:
        aKey - The key, which's value is to be converted to an array.
        aDelimiter - The delimiter to be used to identify the elements of the future array.
        Returns:
        The according array or null if no (or a null) value has been associated to the key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getBoolean

        default java.lang.Boolean getBoolean​(java.lang.Object aKey)
                                      throws java.lang.NumberFormatException
        Returns the Boolean value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Boolean representation of the key's String value of false if there is no such key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getBoolean

        default java.lang.Boolean getBoolean​(java.lang.String aKey)
                                      throws java.lang.NumberFormatException
        Returns the Boolean value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Boolean representation of the key's String value of false if there is no such key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getBooleanOr

        default java.lang.Boolean getBooleanOr​(java.lang.Object aKey,
                                               java.lang.Boolean aDefaultValue)
                                        throws java.lang.NumberFormatException
        Returns the Boolean value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Boolean representation of the key's String value of false if there is no such key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getBooleanOr

        default java.lang.Boolean getBooleanOr​(java.lang.String aKey,
                                               java.lang.Boolean aDefaultValue)
                                        throws java.lang.NumberFormatException
        Returns the Boolean value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Boolean representation of the key's String value of false if there is no such key.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getByte

        default java.lang.Byte getByte​(java.lang.Object aKey)
                                throws java.lang.NumberFormatException
        Returns the Byte value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Byte representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getByte

        default java.lang.Byte getByte​(java.lang.String aKey)
                                throws java.lang.NumberFormatException
        Returns the Byte value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Byte representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getByteOr

        default java.lang.Byte getByteOr​(java.lang.Object aKey,
                                         java.lang.Byte aDefaultValue)
                                  throws java.lang.NumberFormatException
        Returns the Byte value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Byte representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getByteOr

        default java.lang.Byte getByteOr​(java.lang.String aKey,
                                         java.lang.Byte aDefaultValue)
                                  throws java.lang.NumberFormatException
        Returns the Byte value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Byte representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getCharacter

        default java.lang.Character getCharacter​(java.lang.Object aKey)
                                          throws java.lang.NumberFormatException
        Returns the Character value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Character representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getCharacter

        default java.lang.Character getCharacter​(java.lang.String aKey)
                                          throws java.lang.NumberFormatException
        Returns the Character value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Character representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getCharacterOr

        default java.lang.Character getCharacterOr​(java.lang.Object aKey,
                                                   java.lang.Character aDefaultValue)
                                            throws java.lang.NumberFormatException
        Returns the Character value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Character representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getCharacterOr

        default java.lang.Character getCharacterOr​(java.lang.String aKey,
                                                   java.lang.Character aDefaultValue)
                                            throws java.lang.NumberFormatException
        Returns the Character value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Character representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getDouble

        default java.lang.Double getDouble​(java.lang.Object aKey)
                                    throws java.lang.NumberFormatException
        Returns the Double value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Double representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getDouble

        default java.lang.Double getDouble​(java.lang.String aKey)
                                    throws java.lang.NumberFormatException
        Returns the Double value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Double representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getDoubleOr

        default java.lang.Double getDoubleOr​(java.lang.Object aKey,
                                             java.lang.Double aDefaultValue)
                                      throws java.lang.NumberFormatException
        Returns the Double value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Double representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getDoubleOr

        default java.lang.Double getDoubleOr​(java.lang.String aKey,
                                             java.lang.Double aDefaultValue)
                                      throws java.lang.NumberFormatException
        Returns the Double value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Double representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getFloat

        default java.lang.Float getFloat​(java.lang.Object aKey)
                                  throws java.lang.NumberFormatException
        Returns the Float value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Float representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getFloat

        default java.lang.Float getFloat​(java.lang.String aKey)
                                  throws java.lang.NumberFormatException
        Returns the Float value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Float representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getFloatOr

        default java.lang.Float getFloatOr​(java.lang.Object aKey,
                                           java.lang.Float aDefaultValue)
                                    throws java.lang.NumberFormatException
        Returns the Float value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Float representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getFloatOr

        default java.lang.Float getFloatOr​(java.lang.String aKey,
                                           java.lang.Float aDefaultValue)
                                    throws java.lang.NumberFormatException
        Returns the Float value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Float representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getInteger

        default java.lang.Integer getInteger​(java.lang.Object aKey)
                                      throws java.lang.NumberFormatException
        Returns the Integer value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Integer representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getInteger

        default java.lang.Integer getInteger​(java.lang.String aKey)
                                      throws java.lang.NumberFormatException
        Returns the Integer value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Integer representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getIntegerOr

        default java.lang.Integer getIntegerOr​(java.lang.Object aKey,
                                               java.lang.Integer aDefaultValue)
                                        throws java.lang.NumberFormatException
        Returns the Integer value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Integer representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getIntegerOr

        default java.lang.Integer getIntegerOr​(java.lang.String aKey,
                                               java.lang.Integer aDefaultValue)
                                        throws java.lang.NumberFormatException
        Returns the Integer value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Integer representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getLong

        default java.lang.Long getLong​(java.lang.Object aKey)
                                throws java.lang.NumberFormatException
        Returns the Long value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Long representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getLong

        default java.lang.Long getLong​(java.lang.String aKey)
                                throws java.lang.NumberFormatException
        Returns the Long value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Long representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getLongOr

        default java.lang.Long getLongOr​(java.lang.Object aKey,
                                         java.lang.Long aDefaultValue)
                                  throws java.lang.NumberFormatException
        Returns the Long value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Long representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getLongOr

        default java.lang.Long getLongOr​(java.lang.String aKey,
                                         java.lang.Long aDefaultValue)
                                  throws java.lang.NumberFormatException
        Returns the Long value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Long representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getShort

        default java.lang.Short getShort​(java.lang.Object aKey)
                                  throws java.lang.NumberFormatException
        Returns the Short value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Short representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getShort

        default java.lang.Short getShort​(java.lang.String aKey)
                                  throws java.lang.NumberFormatException
        Returns the Short value of the property referred to by the key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to retrieve the value.
        Returns:
        The Short representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getShortOr

        default java.lang.Short getShortOr​(java.lang.Object aKey,
                                           java.lang.Short aDefaultValue)
                                    throws java.lang.NumberFormatException
        Returns the Short value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Short representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • getShortOr

        default java.lang.Short getShortOr​(java.lang.String aKey,
                                           java.lang.Short aDefaultValue)
                                    throws java.lang.NumberFormatException
        Returns the Short value of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of type String, the String value is converted accordingly.
        Parameters:
        aKey - The key for which to get the element.
        aDefaultValue - The default value in case there is no such value for the given key.
        Returns:
        The Short representation of the key's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.