Package io.deephaven.uri
Class UriHelper
java.lang.Object
io.deephaven.uri.UriHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisLocalPath(URI uri) static booleanisRemotePath(URI uri) static booleanisRemoteQuery(URI uri) static booleanisRemoteTarget(URI uri) static boolean
-
Constructor Details
-
UriHelper
public UriHelper()
-
-
Method Details
-
isUriSafe
-
isLocalPath
- Parameters:
uri- the URI- Returns:
- true if
uriis a "local path"
-
isRemotePath
A URI is a "remote path" when the only components arescheme,host, andpath; and path starts with"/".- Parameters:
uri- the URI- Returns:
- true if
uriis a "remote path"
-
isRemoteTarget
- Parameters:
uri- the URI- Returns:
- true if
uriis a "remote target"
-
isRemoteQuery
A URI is a "remote query" when the only components arescheme,host,query, andpath; and path is empty.- Parameters:
uri- the URI- Returns:
- true if
uriis a "remote query"
-