Returns the numeric value from the "Info" property string associated with 'key', or NaN if the key is not found or the value associated with the key is not numeric. Works with DICOM tags and Bio-Formats metadata. @see #getStringProperty @see #getInfoProperty
(String key)
| 1589 | * @see #getInfoProperty |
| 1590 | */ |
| 1591 | public double getNumericProperty(String key) { |
| 1592 | return Tools.parseDouble(getStringProperty(key)); |
| 1593 | } |
| 1594 | |
| 1595 | private String getStringProperty(String key, String info) { |
| 1596 | int index1 = -1; |
no test coverage detected