org.fusesource.scalate.util

IOUtil

object IOUtil extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. IOUtil
  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. def allFiles (file: File): Boolean

    Attributes
    protected
  7. def allZipEntries (entry: ZipEntry): Boolean

    Attributes
    protected
  8. def asInstanceOf [T0] : T0

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def copy (in: Reader, out: Writer): Long

  11. def copy (in: InputStream, out: OutputStream): Long

  12. def copy (url: URL, file: File): Long

  13. def copy (in: InputStream, file: File): Long

  14. def copy (file: File, out: OutputStream): Long

  15. def copy (in: File, out: File): Long

  16. def eq (arg0: AnyRef): Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  20. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  22. def loadBinaryFile (path: File): Array[Byte]

  23. def loadBytes (in: InputStream): Array[Byte]

  24. def loadText (in: InputStream, encoding: String = "UTF-8"): String

  25. def loadTextFile (path: File, encoding: String = "UTF-8"): String

  26. val log : Log

  27. def makeParentDirs (file: File): Unit

    Creates any parent directories of the given directory if they do not exist

  28. def makeParentDirs (fileName: String): Unit

    Creates any parent directories of the given path if they do not exist

  29. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  32. def recursiveDelete (file: File, filter: (File) ⇒ Boolean = allFiles): Unit

    Recursively deletes the directory and all its children which match the optional filter

  33. def recursiveDelete (file: File): Boolean

    Recursively deletes a file and all of it's children files if it's a directory.

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

    Attributes
    final
    Definition Classes
    AnyRef
  35. implicit def toFile (resource: FileResource): File

    Attributes
    implicit
  36. implicit def toResource (file: File): FileResource

    Allows a File to be converted to a FileResource which also provides a Rich API for files

    Allows a File to be converted to a FileResource which also provides a Rich API for files

    Attributes
    implicit
  37. def toString (): String

    Definition Classes
    AnyRef → Any
  38. def unjar (outputDir: File, input: InputStream, filter: (ZipEntry) ⇒ Boolean = allZipEntries): Unit

    Unjars the given stream for entries which match the optional filter to the given directory

  39. def using [R, C <: Closeable] (c: C)(func: (C) ⇒ R): R

  40. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  43. def writeBinaryFile (path: File, contents: Array[Byte]): Unit

  44. def writeBinaryFile (path: String, contents: Array[Byte]): Unit

  45. def writeText (out: Writer, text: String): Unit

  46. def writeText (stream: OutputStream, text: String): Unit

  47. def writeText (path: File, text: String): Unit

  48. def writeText (path: String, text: String): Unit

Inherited from AnyRef

Inherited from Any