Trait/Object

org.specs2.io

FilePathReader

Related Docs: object FilePathReader | package io

Permalink

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
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

    returns

    true if the directory doesn't exist

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

    Permalink

    returns

    true if the file doesn't exist

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

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

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

    Permalink

    returns

    true if the directory exists

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

    Permalink

    returns

    true if the file exists

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

    Permalink

    returns

    the list of file paths accessible from dir

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

    Permalink

    filter files according to a regex pattern

  14. def finalize(): Unit

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

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

    Permalink

    returns

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

  17. def hashCode(): Int

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

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

    Permalink

    returns

    the files directly accessible from a directory

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

    Permalink

    returns

    the files directly accessible from a directory

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

    Permalink

    returns

    the files accessible recursively from a directory

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

    Permalink

    returns

    the MD5 hash of a file

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

    Permalink

    succeeds if the file is a directory

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

    Permalink

    succeeds if the file exists

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

    Permalink

    succeeds if the file is not a directory

  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 readBytes(filePath: FilePath): Operation[Array[Byte]]

    Permalink

    read the content of a file as an Array of Bytes

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

    Permalink

    returns

    the content of a file encoded as UTF8

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

    Permalink

    returns

    the content of a file with a specific codec

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

    Permalink

    returns

    the content of a file as UTF-8 lines

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

    Permalink

    returns

    the content of a file with a specific codec

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped