SegmentedVirtualPath

sealed trait SegmentedVirtualPath extends VirtualPath

The common base for absolute and relative paths that contain one or more path segments.

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Inherited types

Inherited from:
VirtualPath

Value members

Abstract methods

def segments: Type[String]

The segments representing this path instance. The last segment does not include the suffix or fragment parts

The segments representing this path instance. The last segment does not include the suffix or fragment parts

Concrete methods

override def toString: String
Definition Classes
Any

Inherited methods

def /(path: RelativePath): Self

Combines this path with the specified relative path.

Combines this path with the specified relative path.

Inherited from:
GenericPath
def /(name: String): Self

Creates a new path with the specified name as an immediate child of this path.

Creates a new path with the specified name as an immediate child of this path.

Inherited from:
GenericPath
def canEqual(that: Any): Boolean
Inherited from:
Equals
protected def copyWith(basename: String, suffix: Option[String], fragment: Option[String]): Self
Inherited from:
GenericPath
def fragment: Option[String]

The fragment part of the path (after a # in the last segment), or None if this path does not have a fragment component.

The fragment part of the path (after a # in the last segment), or None if this path does not have a fragment component.

Inherited from:
GenericPath
def productArity: Int
Inherited from:
Product
def productElement(n: Int): Any
Inherited from:
Product
def productElementName(n: Int): String
Inherited from:
Product
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def productPrefix: String
Inherited from:
Product
def suffix: Option[String]

The suffix of None if this path name does not have a file suffix separated by a ..

The suffix of None if this path name does not have a file suffix separated by a ..

Inherited from:
GenericPath
def withBasename(name: String): Self

Returns a new path that replaces the base name with the specified new name while keeping both, suffix and fragment, in case they are present.

Returns a new path that replaces the base name with the specified new name while keeping both, suffix and fragment, in case they are present.

Inherited from:
GenericPath
def withFragment(fragment: String): Self

Returns a new path that either replaces the existing fragment component with the specified one or appends it if this path does not have a component yet.

Returns a new path that either replaces the existing fragment component with the specified one or appends it if this path does not have a component yet.

Inherited from:
GenericPath
def withSuffix(suffix: String): Self

Returns a new path that either replaces the existing suffix with the specified one or appends it if this path does not have a suffix yet.

Returns a new path that either replaces the existing suffix with the specified one or appends it if this path does not have a suffix yet.

Inherited from:
GenericPath

Returns a new path that discards this path's fragment, if present.

Returns a new path that discards this path's fragment, if present.

Inherited from:
GenericPath

Returns a new path that discards this path's suffix, if present.

Returns a new path that discards this path's suffix, if present.

Inherited from:
GenericPath

Concrete fields

lazy override val basename: String
lazy val name: String