- java.lang.Object
-
- com.github.robtimus.filesystems.URISupport
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static URIcreate(String scheme, String ssp, String fragment)Utility method that callsURI(String, String, String), wrapping any thrownURISyntaxExceptionin anIllegalArgumentException.static URIcreate(String scheme, String userInfo, String host, int port, String path, String query, String fragment)Utility method that callsURI(String, String, String, int, String, String, String), wrapping any thrownURISyntaxExceptionin anIllegalArgumentException.static URIcreate(String scheme, String host, String path, String fragment)Utility method that callsURI(String, String, String, String), wrapping any thrownURISyntaxExceptionin anIllegalArgumentException.static URIcreate(String scheme, String authority, String path, String query, String fragment)Utility method that callsURI(String, String, String, String, String), wrapping any thrownURISyntaxExceptionin anIllegalArgumentException.
-
-
-
Method Detail
-
create
public static URI create(String scheme, String userInfo, String host, int port, String path, String query, String fragment)
Utility method that callsURI(String, String, String, int, String, String, String), wrapping any thrownURISyntaxExceptionin anIllegalArgumentException.- Parameters:
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.- Returns:
- The created URI.
- Throws:
IllegalArgumentException- If creating the URI caused aURISyntaxExceptionto be thrown.- See Also:
URI.create(String)
-
create
public static URI create(String scheme, String authority, String path, String query, String fragment)
Utility method that callsURI(String, String, String, String, String), wrapping any thrownURISyntaxExceptionin anIllegalArgumentException.- Parameters:
scheme- The scheme name.authority- The authority.path- The path.query- The query.fragment- The fragment.- Returns:
- The created URI.
- Throws:
IllegalArgumentException- If creating the URI caused aURISyntaxExceptionto be thrown.- See Also:
URI.create(String)
-
create
public static URI create(String scheme, String host, String path, String fragment)
Utility method that callsURI(String, String, String, String), wrapping any thrownURISyntaxExceptionin anIllegalArgumentException.- Parameters:
scheme- The scheme name.host- The host name.path- The path.fragment- The fragment.- Returns:
- The created URI.
- Throws:
IllegalArgumentException- If creating the URI caused aURISyntaxExceptionto be thrown.- See Also:
URI.create(String)
-
create
public static URI create(String scheme, String ssp, String fragment)
Utility method that callsURI(String, String, String), wrapping any thrownURISyntaxExceptionin anIllegalArgumentException.- Parameters:
scheme- The scheme name.ssp- The scheme-specific part.fragment- The fragment.- Returns:
- The created URI.
- Throws:
IllegalArgumentException- If creating the URI caused aURISyntaxExceptionto be thrown.- See Also:
URI.create(String)
-
-