Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package ensime
    Definition Classes
    org
  • package util
    Definition Classes
    ensime
  • package file

    Decorate java.io.File with functionality from common utility packages, which would otherwise be verbose/ugly to call directly.

    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.

    Definition Classes
    util
  • RichFile
c

org.ensime.util.file

RichFile

implicit final class RichFile extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichFile
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichFile(file: File)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def /(sub: String): File
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. 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.

  7. def children: Stream[File]

    Non-recursive children of the file.

  8. def createWithParents(): Boolean
  9. val file: File
  10. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  11. def isClassfile: Boolean
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isJar: Boolean
  14. def isJava: Boolean
  15. def isScala: Boolean
  16. def outputStream(): OutputStream
  17. def parts: List[String]
  18. def readLines(): List[String]
  19. def readString()(implicit cs: Charset): String
    Annotations
    @deprecating( "prefer path" )
  20. def toString(): String
    Definition Classes
    Any
  21. def tree: Stream[File]

    returns

    the file and its descendent family tree (if it is a directory).

    Annotations
    @deprecating( "prefer path approaches" )
  22. def writeLines(lines: List[String])(implicit cs: Charset): Unit
  23. def writeString(contents: String)(implicit cs: Charset): Unit

Inherited from AnyVal

Inherited from Any

Ungrouped