org.specs2.io

FilePathReader

Related Docs: object FilePathReader | package io

trait FilePathReader extends AnyRef

Methods to read files on the FileSystem

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FilePathReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def doesNotExist(directoryPath: DirectoryPath): Action[Boolean]

    returns

    true if the directory doesn't exist

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

    returns

    true if the file doesn't exist

  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def exists(directoryPath: DirectoryPath): Action[Boolean]

    returns

    true if the directory exists

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

    returns

    true if the file exists

  12. def filePaths(dir: DirectoryPath, glob: String, verbose: Boolean): Action[IndexedSeq[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. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def globToPattern(glob: String): String

    returns

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

  17. def hashCode(): Int

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

    Definition Classes
    Any
  19. def listDirectDirectoryPaths(directory: DirectoryPath): Action[IndexedSeq[DirectoryPath]]

    returns

    the files directly accessible from a directory

  20. def listDirectFilePaths(directory: DirectoryPath): Action[IndexedSeq[FilePath]]

    returns

    the files directly accessible from a directory

  21. def listFilePaths(directory: DirectoryPath): Action[IndexedSeq[FilePath]]

    returns

    the files accessible recursively from a directory

  22. def md5(filePath: FilePath): Action[String]

    returns

    the MD5 hash of a file

  23. def mustBeADirectory(file: File): Action[Unit]

    succeeds if the file is a directory

  24. def mustExist(file: File): Action[Unit]

    succeeds if the file exists

  25. def mustNotBeADirectory(file: File): Action[Unit]

    succeeds if the file is not a directory

  26. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  29. def readBytes(filePath: FilePath): Action[Array[Byte]]

    read the content of a file as an Array of Bytes

  30. def readFile(path: FilePath): Action[String]

    returns

    the content of a file encoded as UTF8

  31. def readFileWithCodec(path: FilePath, codec: Codec): Action[String]

    returns

    the content of a file with a specific codec

  32. def readLines(filePath: FilePath): Action[IndexedSeq[String]]

    returns

    the content of a file as UTF-8 lines

  33. def readLinesWithCodec(filePath: FilePath, codec: Codec): Action[IndexedSeq[String]]

    returns

    the content of a file with a specific codec

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

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped