Package org.vast.util
Class URIResolver
java.lang.Object
org.vast.util.URIResolver
URI Resolver uses local mapping file or DNS servers to resolve a URI to a URL, or simply uses the URL class if the URI is already a URL.
- Since:
- Aug 19, 2005
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOpen the stream pointed by this uriResolves the URI to a URL using the appropriate resolution method (depending on URI scheme)
-
Constructor Details
-
URIResolver
-
URIResolver
-
-
Method Details
-
openStream
Open the stream pointed by this uri- Returns:
- InputStream
- Throws:
IOException
-
resolveToUrl
Resolves the URI to a URL using the appropriate resolution method (depending on URI scheme)- Returns:
- the resolved URL
- Throws:
IOException
-
getResolvedUri
-