org.ensime.util

file

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. file
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type File = java.io.File

  2. implicit final class RichFile extends AnyVal

Value Members

  1. def File(name: String): File

    Convenience for creating Files (which we do a lot), but has the caveat that static methods on java.io.File can 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 on java.io.File can no longer be accessed, so it must be imported like:

    java.io.{ File => JFile }

  2. def withTempDir[T](a: (File) ⇒ T): T

  3. def withTempFile[T](a: (File) ⇒ T): T

Inherited from AnyRef

Inherited from Any

Ungrouped