public interface Properties
Modifier and Type | Method and Description |
---|---|
Convertible |
getAt(java.lang.String key)
Provides map-like access to properties.
|
java.util.Set<java.lang.String> |
keySet()
returns the names of all attributes.
|
Convertible |
putAt(java.lang.String key,
java.lang.Object value)
Allows to set and to change properties.
|
Convertible getAt(java.lang.String key)
Convertible
, not a String as in the basic storage. Nevertheless it behaves like a String in almost
all respects, that is, in Groovy scripts it understands all String methods like lenght(), matches() etc.
Convertible putAt(java.lang.String key, java.lang.Object value)
value
- An object for conversion to String. Works well for all types that Convertible
handles, particularly Convertible
s itself. Use null to unset an attribute.java.util.Set<java.lang.String> keySet()