Trait

poly.io

Path

Related Doc: package io

Permalink

trait Path[S <: FileSystem] extends ReadOnlyPath[_82.type]

Represents an abstract path under a specific file system.

S

Type of file system.

Self Type
S.Path
Since

0.2.0

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

Abstract Value Members

  1. abstract def delete(): Unit

    Permalink

    Removes this file or directory.

  2. abstract val fileSystem: _82.type

    Permalink

    Returns a reference to the file system in which this file resides.

    Returns a reference to the file system in which this file resides.

    Definition Classes
    ReadOnlyPath
  3. abstract def isDirectory: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  4. abstract def isExecutable: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  5. abstract def isFile: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  6. abstract def isHidden: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  7. abstract def isReadable: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  8. abstract def isSymLink: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  9. abstract def isWriteable: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  10. abstract def path: Array[String]

    Permalink

    Returns an array of the components of this path.

    Returns an array of the components of this path.

    Definition Classes
    ReadOnlyPath
    Example:
    1. Directory("/home/admin/projects") = ("home", "admin", "projects")
  11. abstract def permissions: Set[PosixFilePermission]

    Permalink
    Definition Classes
    ReadOnlyPath
  12. abstract def rename(newName: String): Unit

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def /(rl: RelativeSymLink): FileSystem._82.type.SymLink

    Permalink
    Definition Classes
    ReadOnlyPath
  4. def /(rf: RelativeFile): FileSystem._82.type.File

    Permalink
    Definition Classes
    ReadOnlyPath
  5. def /(rd: RelativeDirectory): FileSystem._82.type.Directory

    Permalink
    Definition Classes
    ReadOnlyPath
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def baseName: String

    Permalink

    Returns the basename of a file name (without the extension part).

    Returns the basename of a file name (without the extension part).

    Definition Classes
    ReadOnlyPath
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def copyTo[DS <: FileSystem](destination: ReadOnlyPath.copyTo.DS.Directory)(implicit ft: Copying[_82.type, DS]): Unit

    Permalink
    Definition Classes
    ReadOnlyPath
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    ReadOnlyPath → AnyRef → Any
  13. def extension: String

    Permalink

    Returns the extension of this file.

    Returns the extension of this file. The extension is lowercased.

    returns

    If there's no extension, the empty string "" is returned.

    Definition Classes
    ReadOnlyPath
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fullName: String

    Permalink

    Returns the full name (including the absolute path) of this file.

    Returns the full name (including the absolute path) of this file.

    Definition Classes
    ReadOnlyPath
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    ReadOnlyPath → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def moveTo[DS <: FileSystem](destination: moveTo.DS.Directory)(implicit ft: Copying[_82.type, DS]): Unit

    Permalink
  20. def name: String

    Permalink

    Returns the name (without the path section) of this file or directory.

    Returns the name (without the path section) of this file or directory.

    Definition Classes
    ReadOnlyPath
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def parent: FileSystem._82.type.Directory

    Permalink

    Returns the parent directory of this path.

    Returns the parent directory of this path.

    Definition Classes
    ReadOnlyPath
  25. def relativize(that: FileSystem._82.type.Path): RelativePath

    Permalink
    Definition Classes
    ReadOnlyPath
  26. def relativize(that: FileSystem._82.type.File): RelativeFile

    Permalink
    Definition Classes
    ReadOnlyPath
  27. def relativize(that: FileSystem._82.type.Directory): RelativeDirectory

    Permalink
    Definition Classes
    ReadOnlyPath
  28. def resolve(rl: RelativeSymLink): FileSystem._82.type.SymLink

    Permalink
    Definition Classes
    ReadOnlyPath
  29. def resolve(rf: RelativeFile): FileSystem._82.type.File

    Permalink
    Definition Classes
    ReadOnlyPath
  30. def resolve(rd: RelativeDirectory): FileSystem._82.type.Directory

    Permalink
    Definition Classes
    ReadOnlyPath
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    ReadOnlyPath → AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ReadOnlyPath[S]

Inherited from AnyRef

Inherited from Any

Ungrouped