implicit final class RichFile extends AnyVal
- Alphabetic
- By Inheritance
- RichFile
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def /(sub: String): File
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canon: java.io.File
Helps to resolve ambiguity surrounding files in symbolically linked directories, which are common on operating systems that use a symbolically linked temporary directory (OS X I'm looking at you).
Helps to resolve ambiguity surrounding files in symbolically linked directories, which are common on operating systems that use a symbolically linked temporary directory (OS X I'm looking at you).
- returns
the canonical form of
file, falling back to the absolute file.
-
def
children: Stream[File]
Non-recursive children of the file.
- def createWithParents(): Boolean
- val file: File
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def isClassfile: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isJar: Boolean
- def isJava: Boolean
- def isScala: Boolean
- def outputStream(): OutputStream
- def parts: List[String]
- def readLines(): List[String]
-
def
readString()(implicit cs: Charset): String
- Annotations
- @deprecating( "prefer path" )
-
def
toString(): String
- Definition Classes
- Any
-
def
tree: Stream[File]
- returns
the file and its descendent family tree (if it is a directory).
- Annotations
- @deprecating( "prefer path approaches" )
- def writeLines(lines: List[String])(implicit cs: Charset): Unit
- def writeString(contents: String)(implicit cs: Charset): Unit