FileReader

org.specs2.io.FileReader
See theFileReader companion trait
object FileReader extends FileReader

Attributes

Companion
trait
Graph
Supertypes
trait FileReader
class Object
trait Matchable
class Any
Self type
FileReader.type

Members list

Value members

Inherited methods

def canRead(path: String): Boolean

Attributes

Returns

true if the file can be read

Inherited from:
FileReader
def canWrite(path: String): Boolean

Attributes

Returns

true if the file can be written

Inherited from:
FileReader
def exists(path: String): Boolean

Attributes

Returns

true if the file exists

Inherited from:
FileReader
def getAbsolutePath(path: String): String

Attributes

Returns

the file absolute path

Inherited from:
FileReader
def getCanonicalPath(path: String): String

Attributes

Returns

the file canonical path

Inherited from:
FileReader
def getName(path: String): String

Attributes

Returns

the file name

Inherited from:
FileReader
def getParent(path: String): String

Attributes

Returns

the file parent path

Inherited from:
FileReader
def isAbsolute(path: String): Boolean

Attributes

Returns

true if the file is absolute

Inherited from:
FileReader
def isDirectory(path: String): Boolean

Attributes

Returns

true if the file is a directory

Inherited from:
FileReader
def isFile(path: String): Boolean

Attributes

Returns

true if the file is a file

Inherited from:
FileReader
def isHidden(path: String): Boolean

Attributes

Returns

true if the file is hidden

Inherited from:
FileReader
def listFiles(path: String): List[String]

Attributes

Returns

the files of that directory

Inherited from:
FileReader