Trait

poly.io

ReadOnlyFile

Related Doc: package io

Permalink

trait ReadOnlyFile[S <: ReadOnlyFileSystem] extends ReadOnlyPath[_52.type]

Self Type
S.File
Since

0.3.0

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

Abstract Value Members

  1. abstract val fileSystem: _52.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
  2. abstract def inputStream: InputStream

    Permalink

    Opens an input stream to read raw bytes from this file.

  3. abstract def isExecutable: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  4. abstract def isHidden: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  5. abstract def isReadable: Boolean

    Permalink
    Definition Classes
    ReadOnlyPath
  6. abstract def isWriteable: Boolean

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

    Permalink
    Definition Classes
    ReadOnlyPath
  9. abstract def size: Long

    Permalink

    Returns the number of bytes in this file.

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._52.type.SymLink

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

    Permalink
    Definition Classes
    ReadOnlyPath
  5. def /(rd: RelativeDirectory): ReadOnlyFileSystem._52.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 bytes: Iterable[Byte]

    Permalink

    Returns a lazy iterable sequence of raw bytes in this file.

  10. def chars(implicit enc: Codec): Iterable[Char]

    Permalink

    Returns a lazy iterable sequence of characters in this file given a character encoding.

  11. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ReadOnlyFileReadOnlyPath
  21. final def isFile: Boolean

    Permalink
    Definition Classes
    ReadOnlyFileReadOnlyPath
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def isSymLink: Boolean

    Permalink
    Definition Classes
    ReadOnlyFileReadOnlyPath
  24. def lines(implicit enc: Codec): Iterable[String]

    Permalink

    Returns a lazy iterable sequence of lines in this file given a character encoding.

  25. 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
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def parent: ReadOnlyFileSystem._52.type.Directory

    Permalink

    Returns the parent directory of this path.

    Returns the parent directory of this path.

    Definition Classes
    ReadOnlyPath
  30. def reader(implicit enc: Codec): java.io.Reader

    Permalink

    Opens a reader to read characters from this file given a character encoding.

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

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

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

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

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

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

    Permalink
    Definition Classes
    ReadOnlyPath
  37. def slurp(implicit enc: Codec): String

    Permalink

    Reads all content of this file to a string.

  38. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from ReadOnlyPath[S]

Inherited from AnyRef

Inherited from Any

Ungrouped