Java URI Create createURIWithFull(final String scheme, final String userInfo, final String host, final int port, final String path, final String query, final String fragment)

Here you can find the source of createURIWithFull(final String scheme, final String userInfo, final String host, final int port, final String path, final String query, final String fragment)

Description

create URI With Full

License

Apache License

Declaration

public static URI createURIWithFull(final String scheme, final String userInfo, final String host,
            final int port, final String path, final String query, final String fragment) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.net.URI;
import java.net.URISyntaxException;

public class Main {
    public static URI createURIWithFull(final String scheme, final String userInfo, final String host,
            final int port, final String path, final String query, final String fragment) {
        try {/*from w  ww .j  av a 2 s  . c  o m*/
            return new URI(scheme, userInfo, host, port, path, query, fragment);
        } catch (URISyntaxException e) {
            throw new IllegalStateException("Unable to create URI", e);
        }
    }
}

Related

  1. createUri(String u)
  2. createUri(String uri)
  3. createURI(String uri)
  4. createURI(String uri)
  5. createURI(String uri)
  6. getUri()
  7. getUri(File file)
  8. getURI(File file)
  9. getURI(File file)