Object

org.fusesource.scalate.util

IOUtil

Related Doc: package util

Permalink

object IOUtil

Source
IOUtil.scala
Linear Supertypes
AnyRef, Any
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
    @HotSpotIntrinsicCandidate() @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. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. val includeRegEx: Regex

    Permalink
  19. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink
  24. val log: Log

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

    Permalink

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

  26. def makeParentDirs(fileName: String): Unit

    Permalink

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

  27. 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

  28. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. def recursiveDelete(file: File, filter: (File) ⇒ Boolean = allFiles): Unit

    Permalink

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

  32. def recursiveDelete(file: File): Boolean

    Permalink

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

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

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

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

    Permalink

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

  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. 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

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

    Permalink
  39. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(): Unit

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

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

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

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

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

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

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped