Path

class Path extends FilePath with ReadablePath with BasePathImpl

An absolute path on the filesystem. Note that the path is normalized and cannot contain any empty "", "." or ".." segments

Companion:
object
trait FilePath
trait BasePath
class Object
trait Matchable
class Any

Type members

Types

override type ThisType = Path

Value members

Concrete methods

override def /(chunk: PathChunk): Path
Definition Classes
def endsWith(target: RelPath): Boolean
override def equals(o: Any): Boolean
Definition Classes
Any
def getInputStream: InputStream
def getSegment(i: Int): String
override def hashCode: Int
Definition Classes
Any
def lastOpt: Option[String]
def relativeTo(base: Path): RelPath
def resolveFrom(base: Path): Path
def segmentCount: Int
def segments: Iterator[String]
def startsWith(target: Path): Boolean
def toIO: File
def toNIO: Path
override def toString: String
Definition Classes
Any

Inherited methods

override def baseName: String
Definition Classes
Inherited from:
BasePathImpl
def ext: String
Inherited from:
BasePathImpl
def last: String
Inherited from:
BasePathImpl

Relativizes this path with the given target path, finding a sub path p such that base/p == this.

Relativizes this path with the given target path, finding a sub path p such that base/p == this.

Inherited from:
BasePath

Concrete fields

val wrapped: Path