object IOUtil
- Source
- IOUtil.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IOUtil
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- class InvalidDirectiveException extends RuntimeException
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allFiles(file: File): Boolean
- Attributes
- protected
-
def
allZipEntries(entry: ZipEntry): Boolean
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def copy(in: Reader, out: Writer): Long
- def copy(in: InputStream, out: OutputStream): Long
- def copy(url: URL, file: File): Long
- def copy(in: InputStream, file: File): Long
- def copy(file: File, out: OutputStream): Long
- def copy(in: File, out: File): Long
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val includeRegEx: Regex
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadBinaryFile(path: File): Array[Byte]
- def loadBytes(in: InputStream): Array[Byte]
- def loadText(in: InputStream, encoding: String = "UTF-8"): String
- def loadTextFile(path: File, encoding: String = "UTF-8"): String
- val log: Log
-
def
makeParentDirs(file: File): Unit
Creates any parent directories of the given directory if they do not exist
-
def
makeParentDirs(fileName: String): Unit
Creates any parent directories of the given path if they do not exist
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
recursiveDelete(file: File, filter: (File) ⇒ Boolean = allFiles): Unit
Recursively deletes the directory and all its children which match the optional filter
-
def
recursiveDelete(file: File): Boolean
Recursively deletes a file and all of it's children files if it's a directory.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- implicit def toFile(resource: FileResource): File
-
implicit
def
toResource(file: File): FileResource
Allows a File to be converted to a FileResource which also provides a Rich API for files
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- def using[R, C <: Closeable](c: C)(func: (C) ⇒ R): R
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def writeBinaryFile(path: File, contents: Array[Byte]): Unit
- def writeBinaryFile(path: String, contents: Array[Byte]): Unit
- def writeText(out: Writer, text: String): Unit
- def writeText(stream: OutputStream, text: String): Unit
- def writeText(path: File, text: String): Unit
- def writeText(path: String, text: String): Unit