Returns the numeric property associated with the specified key or NaN if the property is not found. @see #setProp(String,double) @see #getProp
(String key)
| 1680 | * @see #getProp |
| 1681 | */ |
| 1682 | public double getNumericProp(String key) { |
| 1683 | if (imageProperties==null) |
| 1684 | return Double.NaN; |
| 1685 | else |
| 1686 | return Tools.parseDouble(getProp(key), Double.NaN); |
| 1687 | } |
| 1688 | |
| 1689 | /** Used for saving string properties in TIFF header. */ |
| 1690 | public String[] getPropertiesAsArray() { |
no test coverage detected