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.

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. implicit val DefaultCharset: Charset

  2. 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 }

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

    WARNING: do not create symbolic links in the temporary directory or the cleanup script will exit the sandbox and start deleting other files.

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

Inherited from AnyRef

Inherited from Any

Ungrouped