Package

org.ensime.util

file

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. type File = java.io.File

    Permalink
  2. implicit final class RichFile extends AnyVal

    Permalink

Value Members

  1. def File(name: String): File

    Permalink

    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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped