()
| 283 | } |
| 284 | |
| 285 | public URL getBaseURL() { |
| 286 | if(baseURL == null) { |
| 287 | try { |
| 288 | getCreoleXML(); |
| 289 | } catch(Exception e) { |
| 290 | throw new RuntimeException("Unable to determine base URL",e); |
| 291 | } |
| 292 | } |
| 293 | return baseURL; |
| 294 | } |
| 295 | |
| 296 | public URI getBaseURI() throws URISyntaxException { |
| 297 | return getBaseURL().toURI(); |
no test coverage detected