|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2018 the original author or authors. |
|
|
|
|
* Copyright 2002-2022 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -99,14 +99,14 @@ public interface Resource extends InputStreamSource {
@@ -99,14 +99,14 @@ public interface Resource extends InputStreamSource {
|
|
|
|
|
/** |
|
|
|
|
* Return a URL handle for this resource. |
|
|
|
|
* @throws IOException if the resource cannot be resolved as URL, |
|
|
|
|
* i.e. if the resource is not available as descriptor |
|
|
|
|
* i.e. if the resource is not available as a descriptor |
|
|
|
|
*/ |
|
|
|
|
URL getURL() throws IOException; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return a URI handle for this resource. |
|
|
|
|
* @throws IOException if the resource cannot be resolved as URI, |
|
|
|
|
* i.e. if the resource is not available as descriptor |
|
|
|
|
* i.e. if the resource is not available as a descriptor |
|
|
|
|
* @since 2.5 |
|
|
|
|
*/ |
|
|
|
|
URI getURI() throws IOException; |
|
|
|
|