Companion

object Companion

Functions

Link copied to clipboard

Convert a json string to properties object.

Link copied to clipboard

Returns a Properties object containing the key value properties out of supplied string.

Link copied to clipboard
fun decodeBase64(encoded: String): String

Decodes a Base64-encoded string.

Link copied to clipboard
fun decodeUrl(datasetName: String): String

Decodes the path component of a URI string.

Link copied to clipboard
fun encodeUrl(datasetName: String): String

Encodes a string for use as a path segment in a URL.

Link copied to clipboard

Encode Url if not already encoded, by checking decoding, if we get illegal argument exception.

Link copied to clipboard

Gets the value of a property identified by the specified key from a Properties object, or null if the key is not found.

Link copied to clipboard

Gets the value of a property identified by the specified key from a Properties object.

Link copied to clipboard

Converts a Properties object into map

Link copied to clipboard
fun readFile(filepath: String): String
Link copied to clipboard
fun toUrl(urlString: String): URL

Converts a string URL to a URL object.