Class UriUtils
java.lang.Object
no.hasmac.jsonld.uri.UriUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URIstatic booleanendsWithGenDelim(String uri) Check if the provided URI ends with generic delimiter.private static URIgetUriWithCache(String uriString) static booleanisAbsoluteUri(String uri) Deprecated.since 1.3.0static booleanisAbsoluteUri(String uri, boolean validate) protected static booleanstatic booleanisNotAbsoluteUri(String uri) Deprecated.since 1.3.0static booleanisNotAbsoluteUri(String uri, boolean validate) protected static booleanisNotDefined(String value) static booleanstatic booleanprivate static booleanprotected static Stringprotected static Stringprotected static Stringprotected static Stringprivate static StringrecomposeAllCases(String scheme, String authority, String path, String query, String fragment, boolean includeScheme, boolean includeAuthority, boolean includePath, boolean includeQuery, boolean includeFragment) private static StringrecomposeCommonCases(String scheme, String authority, String path, String query, String fragment, boolean includeScheme, boolean includeAuthority, boolean includePath, boolean includeQuery, boolean includeFragment) private static booleanstartsWithScheme(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:
trueif 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:
trueif the given URI is not absolute
-
isNotAbsoluteUri
-
isAbsoluteUri
Deprecated.since 1.3.0Deprecated in favor ofisAbsoluteUri(String, boolean)- Parameters:
uri- to check- Returns:
trueif the given URI is absolute
-
isAbsoluteUri
-
getUriWithCache
-
startsWithScheme
-
recompose
-
recomposeAllCases
-
recomposeCommonCases
-
recompose
-
recompose
-
recompose
-
isDefined
-
isNotDefined
-