Java URI Create getUri(String uriName)

Here you can find the source of getUri(String uriName)

Description

get Uri

License

Open Source License

Declaration

public static URI getUri(String uriName) 

Method Source Code

//package com.java2s;
// under the terms of the GNU General Public License. For other license

import java.net.URI;

public class Main {
    public static URI getUri(String uriName) {
        try {//  w  w w .java 2  s .  c o m
            return new URI(uriName);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}

Related

  1. getURI(String path)
  2. getURI(String path, String name)
  3. getURI(String protocol, String authority, String path, Hashtable params)
  4. getUri(String s, String h, int p, String path)
  5. getURI(String spec)
  6. getURIAddress(URI uri)
  7. getUriByEndpoint(String endpoint)
  8. getURIFilename(final String s)
  9. getURIFromEncodedString(String unencoded)