Class URIUtils

java.lang.Object
org.gvsig.catalog.utils.URIUtils

public class URIUtils extends Object
Some utils to manage URI's
Author:
Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
  • 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 string
      defaultSchema - The deafulet schema
      deafultPort - The default port
      Returns:
      An uri
      Throws:
      URISyntaxException