object IOUtil

Source
IOUtil.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IOUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class InvalidDirectiveException extends RuntimeException

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def allFiles(file: File): Boolean
    Attributes
    protected
  5. def allZipEntries(entry: ZipEntry): Boolean
    Attributes
    protected
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def copy(in: Reader, out: Writer): Long
  9. def copy(in: InputStream, out: OutputStream): Long
  10. def copy(url: URL, file: File): Long
  11. def copy(in: InputStream, file: File): Long
  12. def copy(file: File, out: OutputStream): Long
  13. def copy(in: File, out: File): Long
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. val includeRegEx: Regex
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def loadBinaryFile(path: File): Array[Byte]
  22. def loadBytes(in: InputStream): Array[Byte]
  23. def loadText(in: InputStream, encoding: String = "UTF-8"): String
  24. def loadTextFile(path: File, encoding: String = "UTF-8"): String
  25. val log: Log
  26. def makeParentDirs(file: File): Unit

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

  27. def makeParentDirs(fileName: String): Unit

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

  28. def mergeIncludes(sourceCode: String, encoding: String = "UTF-8"): String

    TODO: maybe we want other precompile directives at some point, so this may need to be made more flexible

  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  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. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. implicit def toFile(resource: FileResource): File
  36. implicit def toResource(file: File): FileResource

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

  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. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @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

Ungrouped