Interface Properties

    • Method Detail

      • getList

        List<String> getList​(String name,
                             String defaultValue,
                             String delimiter)
        Returns a List of Strings which is parsed from the value of the Property with the given name (if present) or from the default-value.
        Parameters:
        name - the name of the Property
        defaultValue - the default-string to parse the list from
        delimiter - the delimiter to split the (default-)value by
        Returns:
        a (possibly empty) List, never null
      • getList

        List<String> getList​(String name,
                             String delimiter)
        Returns a List of Strings which is parsed from the value of the Property with the given name (if present).
        Parameters:
        name - the name of the Property
        delimiter - the delimiter to split the value by
        Returns:
        List of Strings which is parsed from the value of the Property with the given name (if present)
      • getString

        String getString​(String name)
        Returns the string-value of the given Property.
        Parameters:
        name - the name of the Property
        Returns:
        the string-value of the given Property, or null if no such property exists.
      • getString

        String getString​(String name,
                         String defaultValue)
        Returns the string-value of the given Property (if existing), or the default-value.
        Parameters:
        name - the name of the Property
        defaultValue - the default-value
        Returns:
        the string-value of the given Property (if existing), or the default-value
      • getBoolean

        Boolean getBoolean​(String name,
                           Boolean defaultValue)
        Parameters:
        name - the name of the Property
        defaultValue - the default-value
        Returns:
        a Boolean, or the default-value if no such Property exists.
      • getInteger

        Integer getInteger​(String name,
                           Integer defaultValue)
        Returns an Integer parsed from the given Property (if existing), or the default-value.
        Parameters:
        name - the name of the Property
        defaultValue - the default-value
        Returns:
        an Integer, or the default-value if no such Property exists.
      • getFloat

        Float getFloat​(String name,
                       Float defaultValue)
        Returns a Float parsed from the given Property (if existing), or the default-value.
        Parameters:
        name - the name of the Property
        defaultValue - the default-value
        Returns:
        an Float, or the default-value if no such Property exists.
      • getDouble

        Double getDouble​(String name,
                         Double defaultValue)
        Returns a Double parsed from the given Property (if existing), or the default-value.
        Parameters:
        name - the name of the Property
        defaultValue - the default-value
        Returns:
        a Double, or the default-value if no such Property exists.
      • getClob

        String getClob​(String name,
                       String defaultValue)
        Returns the string-value of the given Property (if existing), or the default-value.
        Parameters:
        name - the name of the Property
        defaultValue - the default-value
        Returns:
        the string-value of the given Property (if existing), or the default-value
      • getBlob

        byte[] getBlob​(String name)
        Returns the byte-value of the given Property.
        Parameters:
        name - the name of the Property
        Returns:
        the byte-value of the given Property, or null if no such Property exists.
      • propertyExists

        boolean propertyExists​(String name)
        Checks whether the Property with the given name exists.
        Parameters:
        name - the name of the Property
        Returns:
        true if the Property exists, false otherwise
      • getDescriptionFor

        String getDescriptionFor​(String name)
        Returns the description for the Property with the given name, if any
        Parameters:
        name - the name of the property
        Returns:
        the description, if any