Package no.hasmac.jsonld.uri
Class UriUtils
java.lang.Object
no.hasmac.jsonld.uri.UriUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URI
static boolean
endsWithGenDelim
(String uri) Check if the provided URI ends with generic delimiter.private static URI
getUriWithCache
(String uriString) static boolean
isAbsoluteUri
(String uri) Deprecated.since 1.3.0static boolean
isAbsoluteUri
(String uri, boolean validate) protected static boolean
static boolean
isNotAbsoluteUri
(String uri) Deprecated.since 1.3.0static boolean
isNotAbsoluteUri
(String uri, boolean validate) protected static boolean
isNotDefined
(String value) static boolean
static boolean
private static boolean
protected static String
protected static String
protected static String
protected static String
private static String
recomposeAllCases
(String scheme, String authority, String path, String query, String fragment, boolean includeScheme, boolean includeAuthority, boolean includePath, boolean includeQuery, boolean includeFragment) private static String
recomposeCommonCases
(String scheme, String authority, String path, String query, String fragment, boolean includeScheme, boolean includeAuthority, boolean includePath, boolean includeQuery, boolean includeFragment) private static boolean
startsWithScheme
(String uri)
-
Field Details
-
COMMON_CONSTANTS
-
-
Constructor Details
-
UriUtils
private UriUtils()
-
-
Method Details
-
isURI
-
isValid
-
create
-
endsWithGenDelim
Check if the provided URI ends with generic delimiter.- Parameters:
uri
- to check- Returns:
true
if the provided URI ends with delimiter- See Also:
-
isNotURI
-
isNotAbsoluteUri
Deprecated.since 1.3.0Deprecated in favor ofisNotAbsoluteUri(String, boolean)
- Parameters:
uri
- to check- Returns:
true
if the given URI is not absolute
-
isNotAbsoluteUri
-
isAbsoluteUri
Deprecated.since 1.3.0Deprecated in favor ofisAbsoluteUri(String, boolean)
- Parameters:
uri
- to check- Returns:
true
if the given URI is absolute
-
isAbsoluteUri
-
getUriWithCache
-
startsWithScheme
-
recompose
-
recomposeAllCases
-
recomposeCommonCases
-
recompose
-
recompose
-
recompose
-
isDefined
-
isNotDefined
-