PathComponent

A Path is made up of PathComponents. For example, a path has Path.absolutePath and Path.relativePath which are both PathComponents.

class PathComponent(component: String?)
class PathComponent(component: String?)

Constructors

PathComponent
Link copied to clipboard
fun PathComponent(component: String?)

Functions

byAppending
Link copied to clipboard

Create a new PathComponent by appending component string.

common
fun byAppending(component: String): PathComponent?
ios
fun byAppending(component: String): PathComponent?
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String
open override fun toString(): String
open override fun toString(): String

Properties

component
Link copied to clipboard

Path used to create the component.

val component: String?
val component: String?
val component: String?
val component: String?
url
Link copied to clipboard
ios
val url: Nothing?