Package io.deephaven.uri
Class UriHelper
java.lang.Object
io.deephaven.uri.UriHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isLocalPath
(URI uri) static boolean
isRemotePath
(URI uri) static boolean
isRemoteQuery
(URI uri) static boolean
isRemoteTarget
(URI uri) static boolean
-
Constructor Details
-
UriHelper
public UriHelper()
-
-
Method Details
-
isUriSafe
-
isLocalPath
- Parameters:
uri
- the URI- Returns:
- true if
uri
is 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
uri
is a "remote path"
-
isRemoteTarget
- Parameters:
uri
- the URI- Returns:
- true if
uri
is 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
uri
is a "remote query"
-