BasicPath

class BasicPath(pathString: String)

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

Example:

val path = BasicPath("appLocalDirectory/cacheDirectory/images/exampleImage.jpeg")
println(path.toString())

Constructors

Link copied to clipboard
constructor(pathString: String)

Functions

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

Returns the Path String originally passed to the BasicPath object.