(String key, String def)
| 144 | // ///////////////////////// |
| 145 | // Paths |
| 146 | public String getPath(String key, String def) |
| 147 | { |
| 148 | String path = getString(key, def); |
| 149 | if (path == null) |
| 150 | return null; |
| 151 | |
| 152 | path = path.trim(); // remove white space |
| 153 | if (!path.startsWith("/")) |
| 154 | return source.getPrefixPath() + path; |
| 155 | |
| 156 | return path; |
| 157 | } |
| 158 | |
| 159 | public String getPath(String key) |
| 160 | { |
no test coverage detected