Packages

trait FilePathReader extends AnyRef

Methods to read files on the FileSystem

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FilePathReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def doesNotExist(directoryPath: DirectoryPath): Operation[Boolean]

    returns

    true if the directory doesn't exist

  7. def doesNotExist(filePath: FilePath): Operation[Boolean]

    returns

    true if the file doesn't exist

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def exists(directoryPath: DirectoryPath): Operation[Boolean]

    returns

    true if the directory exists

  11. def exists(filePath: FilePath): Operation[Boolean]

    returns

    true if the file exists

  12. def filePaths(dir: DirectoryPath, glob: String, verbose: Boolean): Operation[List[FilePath]]

    returns

    the list of file paths accessible from dir

  13. def filterWithPattern(pattern: String): (FilePath) => Boolean

    filter files according to a regex pattern

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def globToPattern(glob: String): String

    returns

    the regular expression equivalent to a glob pattern (see the specs for Fragments)

  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def listDirectDirectoryPaths(directory: DirectoryPath): Operation[IndexedSeq[DirectoryPath]]

    returns

    the files directly accessible from a directory

  19. def listDirectFilePaths(directory: DirectoryPath): Operation[IndexedSeq[FilePath]]

    returns

    the files directly accessible from a directory

  20. def listFilePaths(directory: DirectoryPath): Operation[List[FilePath]]

    returns

    the files accessible recursively from a directory

  21. def md5(filePath: FilePath): Operation[String]

    returns

    the MD5 hash of a file

  22. def mustBeADirectory(file: File): Operation[Unit]

    succeeds if the file is a directory

  23. def mustExist(file: File): Operation[Unit]

    succeeds if the file exists

  24. def mustNotBeADirectory(file: File): Operation[Unit]

    succeeds if the file is not a directory

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. def readBytes(filePath: FilePath): Operation[Array[Byte]]

    read the content of a file as an Array of Bytes

  29. def readFile(path: FilePath): Operation[String]

    returns

    the content of a file encoded as UTF8

  30. def readFileWithCodec(path: FilePath, codec: Codec): Operation[String]

    returns

    the content of a file with a specific codec

  31. def readLines(filePath: FilePath): Operation[IndexedSeq[String]]

    returns

    the content of a file as UTF-8 lines

  32. def readLinesWithCodec(filePath: FilePath, codec: Codec): Operation[IndexedSeq[String]]

    returns

    the content of a file with a specific codec

  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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