Searches for the property with the specified key in this property context. The method returns null if the property is not found. @param key the property key. @return the value in this property context with the specified key value.
(String key)
| 106 | * @return the value in this property context with the specified key value. |
| 107 | */ |
| 108 | public String getProperty(String key) |
| 109 | { |
| 110 | if (parent != null) |
| 111 | { |
| 112 | return parent.getProperty(name + '.' + key); |
| 113 | } |
| 114 | return properties.getProperty(key); |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * Functions similarly to {@code getProperty(key, defaultValue)} but |
no outgoing calls