(String attribute)
| 144 | |
| 145 | |
| 146 | public int getInteger(String attribute) { |
| 147 | String value = get(attribute); |
| 148 | if (value == null) { |
| 149 | System.err.println("Integer not found: " + attribute); |
| 150 | return 0; |
| 151 | } |
| 152 | return Integer.parseInt(value); |
| 153 | } |
| 154 | |
| 155 | |
| 156 | public void setInteger(String key, int value) { |