BasicPath

class BasicPath(pathString: String)

Represents a local file path for an image.

This class is used to distinguish between a URL and a local file path. It encapsulates the string representation of the path.

Parameters

pathString

The absolute path of the file.

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 string representation of the file path.