Trait

poly.io

ReadOnlyDirectory

Related Doc: package io

Permalink

trait ReadOnlyDirectory[S <: ReadOnlyFileSystem] extends ReadOnlyPath[_50.type]

Represents a directory in a read-only file system.

Self Type
S.Directory
Since

0.3.0

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

Abstract Value Members

  1. abstract def /(s: String): ReadOnlyFileSystem._50.type.Directory

    Permalink
  2. abstract def /!(s: String): ReadOnlyFileSystem._50.type.File

    Permalink
  3. abstract def /@(s: String): ReadOnlyFileSystem._50.type.SymLink

    Permalink
  4. abstract def children: Iterable[ReadOnlyFileSystem._50.type.Path]

    Permalink

    Returns an iterable sequence of all the immediate children of this directory.

  5. abstract def contains(name: String): Boolean

    Permalink
  6. abstract val fileSystem: _50.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
  7. abstract def files: Iterable[ReadOnlyFileSystem._50.type.File]

    Permalink

    Returns the files in this directory.

  8. abstract def isExecutable: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  9. abstract def isHidden: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  10. abstract def isReadable: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  11. abstract def isWriteable: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  12. 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")
  13. abstract def permissions: Set[PosixFilePermission]

    Permalink
    Definition Classes
    ReadOnlyPath
  14. abstract def subdirectories: Iterable[ReadOnlyFileSystem._50.type.Directory]

    Permalink

    Returns a lazy stream of subdirectories in this directory (not including subdirectories of subdirectories).

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): ReadOnlyFileSystem._50.type.SymLink

    Permalink
    Definition Classes
    ReadOnlyPath
  4. def /(rf: RelativeFile): ReadOnlyFileSystem._50.type.File

    Permalink
    Definition Classes
    ReadOnlyPath
  5. def /(rd: RelativeDirectory): ReadOnlyFileSystem._50.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 childrenMap: Map[String, ReadOnlyFileSystem._50.type.Path]

    Permalink

    Returns an map that maps file names to their path object.

  10. def clone(): AnyRef

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

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

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

    Permalink
    Definition Classes
    ReadOnlyPath → AnyRef → Any
  14. 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
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. 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
  17. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    ReadOnlyPath → AnyRef → Any
  19. final def isDirectory: Boolean

    Permalink
    Definition Classes
    ReadOnlyDirectoryReadOnlyPath
  20. final def isFile: Boolean

    Permalink
    Definition Classes
    ReadOnlyDirectoryReadOnlyPath
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def isSymLink: Boolean

    Permalink
    Definition Classes
    ReadOnlyDirectoryReadOnlyPath
  23. 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
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def parent: ReadOnlyFileSystem._50.type.Directory

    Permalink

    Returns the parent directory of this path.

    Returns the parent directory of this path.

    Definition Classes
    ReadOnlyPath
  28. def recursiveChildren: Iterable[ReadOnlyFileSystem._50.type.Path]

    Permalink

    Returns an iterable sequence of all children of this directory, recursively.

  29. def recursiveFiles: Iterable[ReadOnlyFileSystem._50.type.File]

    Permalink
  30. def recursiveSubdirectories: Iterable[ReadOnlyFileSystem._50.type.Directory]

    Permalink
  31. def relativize(that: ReadOnlyFileSystem._50.type.Path): RelativePath

    Permalink
    Definition Classes
    ReadOnlyPath
  32. def relativize(that: ReadOnlyFileSystem._50.type.File): RelativeFile

    Permalink
    Definition Classes
    ReadOnlyPath
  33. def relativize(that: ReadOnlyFileSystem._50.type.Directory): RelativeDirectory

    Permalink
    Definition Classes
    ReadOnlyPath
  34. def resolve(rl: RelativeSymLink): ReadOnlyFileSystem._50.type.SymLink

    Permalink
    Definition Classes
    ReadOnlyPath
  35. def resolve(rf: RelativeFile): ReadOnlyFileSystem._50.type.File

    Permalink
    Definition Classes
    ReadOnlyPath
  36. def resolve(rd: RelativeDirectory): ReadOnlyFileSystem._50.type.Directory

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

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

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

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

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

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

Inherited from ReadOnlyPath[S]

Inherited from AnyRef

Inherited from Any

Ungrouped