Object

org.fusesource.scalate.util

IOUtil

Related Doc: package util

Permalink

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def allFiles(file: File): Boolean

    Permalink
    Attributes
    protected
  5. def allZipEntries(entry: ZipEntry): Boolean

    Permalink
    Attributes
    protected
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

    Permalink
  13. def copy(in: File, out: File): Long

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. val includeRegEx: Regex

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def loadBinaryFile(path: File): Array[Byte]

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

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

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

    Permalink
  25. val log: Log

    Permalink
  26. def makeParentDirs(file: File): Unit

    Permalink

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

  27. def makeParentDirs(fileName: String): Unit

    Permalink

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

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

    Permalink

    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

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

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

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

    Permalink

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

  33. def recursiveDelete(file: File): Boolean

    Permalink

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

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

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

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

    Permalink

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

  37. def toString(): String

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

    Permalink

    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

    Permalink
  40. final def wait(): Unit

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

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

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

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

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

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

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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped