Dealing with URIs
Type Params | Return Type | Name and description |
---|---|---|
|
static String |
getPkgName(URI uri) Get final package or directory name from a URI |
|
static String |
hashURI(URI uri) Creates a SHA-256 has of a URI. |
|
static URI |
safeUri(URI uri) Create a URI where the user/password is masked out. |
|
static URI |
urize(Object uriThingy) Attempts to convert object to a URI. |
Get final package or directory name from a URI
Creates a SHA-256 has of a URI.
uri
- URI to hashCreate a URI where the user/password is masked out.
uri
- Original URI