Packages

sealed trait Path[+A] extends AnyRef

The path segment of a URI. It is parameterized on the type representing the path. This can be a plain String, or a storage provider specific type.

Examples of storage provider types would be software.amazon.awssdk.services.s3.internal.resource.S3ObjectResource for S3, com.google.storage.Blob for GCS, etc.

See also

https://www.ietf.org/rfc/rfc3986.txt chapter 3.3, Path

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Path
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def representation: A
  2. abstract def segments: Chain[String]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def /(segment: Option[String]): Path[String]
  4. def /(segment: String): Path[String]

    Compose with string to form a new Path

    Compose with string to form a new Path

    The underlying representation must be String in order for the representation and the path to be kept in sync. Use addSegment to modify paths backed by non-String types

    See also

    addSegment

  5. def //(segment: String): Path[String]

    Ensure that path always is suffixed with '/'

  6. def //(segment: Option[String]): Path[String]
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def absolute: AbsolutePath[String]
  9. def addSegment[B](segment: String, representation: B): Path[B]

    Adds a segment to the path while ensuring that the segments and path representation are kept in sync

    Adds a segment to the path while ensuring that the segments and path representation are kept in sync

    If you're just working with String paths, see /

  10. def as[B](b: B): Path[B]
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  13. def dirName(implicit ev: <:<[A, FsObject]): Option[String]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(obj: Any): Boolean
    Definition Classes
    Path → AnyRef → Any
  16. def fileName(implicit ev: <:<[A, FsObject]): Option[String]
  17. def fullName(implicit ev: <:<[A, FsObject]): String
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    Path → AnyRef → Any
  20. def isDir(implicit ev: <:<[A, FsObject]): Boolean
  21. def isEmpty: Boolean
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def lastModified(implicit ev: <:<[A, FsObject]): Option[Instant]
  24. def lastSegment: Option[String]
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def nioPath: java.nio.file.Path
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def parentPath: Plain
  30. def plain: Plain
  31. def relative: RootlessPath[String]
  32. def size(implicit ev: <:<[A, FsObject]): Option[Long]
  33. def storageClass[SC](implicit storageClassLookup: Aux[A, SC]): Option[SC]
  34. def stripSlashSuffix: Path[A]
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    Path → AnyRef → Any
  37. def up: Plain

    Goes one level "up" and looses any information about the underlying path representation

  38. def value: String
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped