public interface URLResolver
| Modifier and Type | Method and Description |
|---|---|
URL |
resolve(URL url)
Converts a URL that uses a client-defined protocol into a URL that uses a
protocol which is native to the Java class library (file, jar, http, etc).
|
URL resolve(URL url) throws IOException
Note however that users of this API should not assume too much about the results of this method. While it may consistently return a file: URL in certain installation configurations, others may result in jar: or http: URLs.
If the protocol is not recognized by this converter, then the original URL is returned as-is.
url - the original URLIOException - if unable to resolve URLIOException - if an error occurs during the resolutionCopyright © 2025 CNES. All rights reserved.