case class FilePath(dir: DirectoryPath, name: FileName) extends Product with Serializable
Representation of a file path, absolute or relative
It has a parent directory and a name
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FilePath
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FilePath(dir: DirectoryPath, name: FileName)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
asAbsolute: FilePath
- returns
an absolute file path
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asRelative: FilePath
- returns
a relative file path
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val dir: DirectoryPath
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromRoot: FilePath
- returns
return the portion of the file path that starts from the rootname
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isAbsolute: Boolean
- returns
true if the file path is absolute
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isRelative: Boolean
- returns
true if this file path is relative
- val name: FileName
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
path: String
- returns
the path for this file as a / separated string
-
def
rebaseTo(other: DirectoryPath): FilePath
- returns
a file path with the same name but in another directory path
-
def
relativeTo(other: DirectoryPath): FilePath
- returns
the portion of a file path that is relative to another
-
def
root: DirectoryPath
- returns
the root directory containing this file
-
def
setAbsolute(absolute: Boolean): FilePath
- returns
modify the absolute status of this file path
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toDirectoryPath: DirectoryPath
- returns
interpret this FilePath as a DirectoryPath
-
def
toFile: File
- returns
a File for this path
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )