sxr

FileUtil

object FileUtil extends AnyRef

A collection of utilities for I/O

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. FileUtil
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. val DefaultEncoding : String

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def download (in: InputStream, file: File): Unit

  10. def download (url: URL, file: File): Unit

  11. def downloadCompressed (url: URL, file: File): Unit

  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  16. def hash (s: String): String

  17. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. def lineCount (f: File): Option[Int]

  20. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def readLines (file: File, encoding: String)(f: (String) ⇒ Unit): Unit

  24. def readLines [T] (file: File, encoding: String, value: T)(f: (T, String) ⇒ T): T

  25. def relativePath (fromFile: File, toFile: File): String

    Creates a relative path from 'fromFile' to 'toFile' (for use in an 'href' attribute).

  26. def relativize (baseFile: File, file: File): Option[String]

    Relativies the path of the given file against the given base file.

  27. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  28. def toString (): String

    Definition Classes
    AnyRef → Any
  29. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. def withReader [T] (source: File, sourceEncoding: String)(f: (BufferedReader) ⇒ T): T

    Managed resource operation.

  33. def withWriter [T] (target: File)(f: (BufferedWriter) ⇒ T): T

    Managed resource operation.

  34. def writeResource (resource: String, to: File): Unit

    Copies the 'resource' to be found on the classpath to the file 'to'.

Inherited from AnyRef

Inherited from Any