Used for saving string properties in TIFF header.
()
| 1688 | |
| 1689 | /** Used for saving string properties in TIFF header. */ |
| 1690 | public String[] getPropertiesAsArray() { |
| 1691 | if (imageProperties==null || imageProperties.size()==0) |
| 1692 | return null; |
| 1693 | String props[] = new String[imageProperties.size()*2]; |
| 1694 | int index = 0; |
| 1695 | for (Enumeration en=imageProperties.keys(); en.hasMoreElements();) { |
| 1696 | String key = (String)en.nextElement(); |
| 1697 | String value = imageProperties.getProperty(key); |
| 1698 | props[index++] = key; |
| 1699 | props[index++] = value; |
| 1700 | } |
| 1701 | return props; |
| 1702 | } |
| 1703 | |
| 1704 | /** Returns information displayed by Image/Show Info command. */ |
| 1705 | public String getPropsInfo() { |
no test coverage detected