BasicUrl

class BasicUrl(urlString: String)

Used to convert the String of an absolute file path to an BasicUrl object. This was a critical feature to prevent URL Strings from being confused with Path Strings.

Example:

val url = BasicUrl("https://picsum.photos/200")
println(url.toString())

Constructors

Link copied to clipboard
constructor(urlString: String)

Functions

Link copied to clipboard
open override fun toString(): String

Returns the URL String originally passed to the BasicUrl object.