Returns as a string the image property associated with the specified key or null if the property is not found. @see #setProp @see #getNumericProp @see #getStringProperty
(String key)
| 1664 | * @see #getStringProperty |
| 1665 | */ |
| 1666 | public String getProp(String key) { |
| 1667 | if (imageProperties==null) |
| 1668 | return getStringProperty(key); |
| 1669 | else { |
| 1670 | String value = imageProperties.getProperty(key); |
| 1671 | if (value==null) |
| 1672 | value = getStringProperty(key); |
| 1673 | return value; |
| 1674 | } |
| 1675 | } |
| 1676 | |
| 1677 | /** Returns the numeric property associated with the specified key |
| 1678 | * or NaN if the property is not found. |
no test coverage detected