PropertyCollection Class

Definition

Represents collection of properties and their values. Note: close() must be called in order to release underlying resources held by the object.

public class PropertyCollection
Inheritance
java.lang.Object
AutoCloseable
PropertyCollection

Methods

close()

Dispose of the associated parameter value collection.

getProperty(PropertyId id)

Gets the property's value by its id

getProperty(String name)

Returns the property value. If the name is not available, it returns an empty String.

getProperty(String name, String defaultValue)

Returns the property value. If the name is not available, it returns a default value.

setProperty(PropertyId id, String value)

Sets the property's value by id

setProperty(String name, String value)

Sets the property value by name

Applies to