Package com.apicatalog.jsonld.uri
Class UriUtils
- java.lang.Object
-
- com.apicatalog.jsonld.uri.UriUtils
-
public final class UriUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static URIcreate(String uri)static booleanendsWithGenDelim(String uri)Check if the provided URI ends with generic delimiter.static booleanisAbsoluteUri(String uri)protected static booleanisDefined(String value)static booleanisNotAbsoluteUri(String uri)protected static booleanisNotDefined(String value)static booleanisNotURI(String uri)static booleanisURI(String value)protected static Stringrecompose(String scheme, String authority, String path, String query, String fragment)
-
-
-
Method Detail
-
isURI
public static final boolean isURI(String value)
-
endsWithGenDelim
public static final boolean endsWithGenDelim(String uri)
Check if the provided URI ends with generic delimiter.- Parameters:
uri- to check- Returns:
trueif the provided URI ends with delimiter- See Also:
- URI - Reserved Characters
-
isNotURI
public static final boolean isNotURI(String uri)
-
isNotAbsoluteUri
public static final boolean isNotAbsoluteUri(String uri)
-
isAbsoluteUri
public static final boolean isAbsoluteUri(String uri)
-
recompose
protected static final String recompose(String scheme, String authority, String path, String query, String fragment)
-
isDefined
protected static final boolean isDefined(String value)
-
isNotDefined
protected static final boolean isNotDefined(String value)
-
-