| Modifier and Type | Method and Description |
|---|---|
static URI |
create(String scheme,
String ssp,
String fragment)
Utility method that calls
URI(String, String, String), wrapping any thrown URISyntaxException in an
IllegalArgumentException. |
static URI |
create(String scheme,
String userInfo,
String host,
int port,
String path,
String query,
String fragment)
Utility method that calls
URI(String, String, String, int, String, String, String), wrapping any thrown URISyntaxException
in an IllegalArgumentException. |
static URI |
create(String scheme,
String host,
String path,
String fragment)
Utility method that calls
URI(String, String, String, String), wrapping any thrown URISyntaxException in an
IllegalArgumentException. |
static URI |
create(String scheme,
String authority,
String path,
String query,
String fragment)
Utility method that calls
URI(String, String, String, String, String), wrapping any thrown URISyntaxException in an
IllegalArgumentException. |
public static URI create(String scheme, String userInfo, String host, int port, String path, String query, String fragment)
URI(String, String, String, int, String, String, String), wrapping any thrown URISyntaxException
in an IllegalArgumentException.scheme - The scheme name.userInfo - The user name and authorization information.host - The host name.port - The port number.path - The path.query - The query.fragment - The fragment.IllegalArgumentException - If creating the URI caused a URISyntaxException to be thrown.URI.create(String)public static URI create(String scheme, String authority, String path, String query, String fragment)
URI(String, String, String, String, String), wrapping any thrown URISyntaxException in an
IllegalArgumentException.scheme - The scheme name.authority - The authority.path - The path.query - The query.fragment - The fragment.IllegalArgumentException - If creating the URI caused a URISyntaxException to be thrown.URI.create(String)public static URI create(String scheme, String host, String path, String fragment)
URI(String, String, String, String), wrapping any thrown URISyntaxException in an
IllegalArgumentException.scheme - The scheme name.host - The host name.path - The path.fragment - The fragment.IllegalArgumentException - If creating the URI caused a URISyntaxException to be thrown.URI.create(String)public static URI create(String scheme, String ssp, String fragment)
URI(String, String, String), wrapping any thrown URISyntaxException in an
IllegalArgumentException.scheme - The scheme name.ssp - The scheme-specific part.fragment - The fragment.IllegalArgumentException - If creating the URI caused a URISyntaxException to be thrown.URI.create(String)Copyright © 2016–2020. All rights reserved.