package file
Decorate java.io.File with functionality from common utility
packages, which would otherwise be verbose/ugly to call directly.
Its nicer to put conveniences for working with File here
instead of using static accessors from J2SE or Guava.
NOTE: prefer NIO via the path utilities.
- Alphabetic
- By Inheritance
- file
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
File(name: String): File
Convenience for creating
Files (which we do a lot), but has the caveat that static methods onjava.io.Filecan no longer be accessed, so it must be imported like:Convenience for creating
Files (which we do a lot), but has the caveat that static methods onjava.io.Filecan no longer be accessed, so it must be imported like:java.io.{ File => JFile } - def withTempDir[T](a: (File) ⇒ T): T
- def withTempFile[T](a: (File) ⇒ T): T