FilePath

case class FilePath(dir: DirectoryPath, name: FileName)

Representation of a file path, absolute or relative

It has a parent directory and a name

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Returns

an absolute file path

Returns

a relative file path

Returns

return the portion of the file path that starts from the rootname

def isAbsolute: Boolean
Returns

true if the file path is absolute

def isRelative: Boolean
Returns

true if this file path is relative

def path: String
Returns

the path for this file as a / separated string

Returns

a file path with the same name but in another directory path

Returns

the portion of a file path that is relative to another

Returns

the root directory containing this file

def setAbsolute(absolute: Boolean): FilePath
Returns

modify the absolute status of this file path

Returns

interpret this FilePath as a DirectoryPath

def toFile: File
Returns

a File for this path

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product