org.specs2.io

FilePathReader

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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def doesNotExist(directoryPath: DirectoryPath): Action[Boolean]

    returns

    true if the directory doesn't exist

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

    returns

    true if the file doesn't exist

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

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

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

    returns

    true if the directory exists

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

    returns

    true if the file exists

  14. def filePaths(dir: DirectoryPath, glob: String, verbose: Boolean): Action[IndexedSeq[FilePath]]

    returns

    the list of file paths accessible from dir

  15. def filterWithPattern(pattern: String): (FilePath) ⇒ Boolean

    filter files according to a regex pattern

  16. def finalize(): Unit

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

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

    returns

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

  19. def hashCode(): Int

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

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

    returns

    the files directly accessible from a directory

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

    returns

    the files directly accessible from a directory

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

    returns

    the files accessible recursively from a directory

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

    returns

    the MD5 hash of a file

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

    succeeds if the file is a directory

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

    succeeds if the file exists

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

    succeeds if the file is not a directory

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

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

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

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

    read the content of a file as an Array of Bytes

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

    returns

    the content of a file encoded as UTF8

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

    returns

    the content of a file with a specific codec

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

    returns

    the content of a file as UTF-8 lines

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

    returns

    the content of a file with a specific codec

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

    Definition Classes
    AnyRef
  37. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped