Package org.gvsig.catalog.utils
Class URIUtils
java.lang.Object
org.gvsig.catalog.utils.URIUtils
Some utils to manage URI's
- Author:
- Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
URIUtils
public URIUtils()
-
-
Method Details
-
createUri
public static URI createUri(String sUri, String defaultSchema, int deafultPort) throws URISyntaxException It creates an URI from a String. If the port and the schema have not been especified on the string this method adds them- Parameters:
sUri- The uri like a stringdefaultSchema- The deafulet schemadeafultPort- The default port- Returns:
- An uri
- Throws:
URISyntaxException
-