final class RichFile extends AnyVal
- Alphabetic
- By Inheritance
- RichFile
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RichFile(asFile: File)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def /(component: String): File
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
- def absolutePath: String
- val asFile: File
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asURL: URL
The wrapped file converted to a
URL
. -
def
base: String
The base of the name of this path.
The base of the name of this path. This is the part of the name before the last period, or the full name if there is no period.
- def baseAndExt: (String, String)
-
def
exists: Boolean
True if and only if the wrapped file exists.
-
def
ext: String
The extension part of the name of this path.
The extension part of the name of this path. This is the part of the name after the last period, or the empty string if there is no period.
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def hash: Array[Byte]
- def hashString: String
- def hashStringHalf: String
-
def
isDirectory: Boolean
True if and only if the wrapped file is a directory.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lastModified: Long
The last modified time of the wrapped file.
-
def
name: String
The last component of this path.
-
def
newerThan(other: File): Boolean
True if and only if the wrapped file
asFile
exists and the file 'other' does not exist or was modified before theasFile
. -
def
olderThan(other: File): Boolean
True if and only if the wrapped file
asFile
does not exist or the fileother
exists and was modified afterasFile
. - def relativeTo(base: File): Option[File]
- def relativize(sub: File): Option[File]
-
def
toString(): String
- Definition Classes
- Any