get String
Same as getString, but the default value is always null
.
Return
The stringified value of the tag associated with the name
. If a tag with that name does not exist, the defaultValue
is returned. If a value exists for that name, but is not already a string, the value is converted to a string using its toString() method.
See also
get(Object)
Parameters
name
The name of the string whose value should be returned. Dot-notation is supported for accessing nested tags.
default Value
The value to return if the tag does not exist. May be null.