object
FileUtil extends Logging
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
copy(src: File, dst: File, overwrite: Boolean = true): Unit
-
def
detectCharset(f: File): Option[Charset]
-
def
detectCharsetName(f: File): Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
fileExists(file: File): Boolean
-
def
fileExists(file: String): Boolean
-
def
fileOrResourceExists(file: File): Boolean
-
def
fileOrResourceExists(file: String): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getDirectoryForFile(f: File): File
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
lazy val
logger: Logger
-
def
md5(f: File): Array[Byte]
-
def
md5Hex(f: File): String
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
readBytes(f: File): Array[Byte]
-
def
readBytes(file: String): Array[Byte]
-
def
readFile(f: File, encoding: Charset): String
-
def
readFile(f: File, encoding: String): String
-
def
readFile(f: File): String
-
def
readFile(file: String, encoding: Charset): String
-
def
readFile(file: String, encoding: String): String
-
def
readFile(file: String): String
-
def
readFileOrResource(f: File, encoding: Charset): String
-
def
readFileOrResource(f: File, encoding: String): String
-
def
readFileOrResource(f: File): String
-
def
readFileOrResource(file: String, encoding: Charset): String
-
def
readFileOrResource(file: String, encoding: String): String
-
def
readFileOrResource(file: String): String
-
def
readInputStream(is: InputStream, charset: Charset): String
-
def
readInputStream(is: InputStream, encoding: String): String
-
def
readInputStream(is: InputStream): String
-
def
readLines(resource: Resource[BufferedReader])(f: (String) ⇒ Unit): Unit
-
def
readLines(is: InputStream)(f: (String) ⇒ Unit): Unit
-
def
readLines(file: File)(f: (String) ⇒ Unit): Unit
-
def
readResource(f: File, encoding: Charset): String
-
def
readResource(f: File, encoding: String): String
-
def
readResource(f: File): String
-
def
readResource(file: String, encoding: Charset): String
-
def
readResource(file: String, encoding: String): String
-
def
readResource(file: String): String
-
def
resourceExists(file: File): Boolean
-
def
resourceExists(file: String): Boolean
-
def
rm_rf(dir: File, keepDirectory: Boolean = false): Boolean
-
def
sha1(f: File): Array[Byte]
-
def
sha1Hex(f: File): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
useFileThenDelete[T](file: File)(f: (File) ⇒ T): T
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withTempFile[T](prefix: String, suffix: String, directory: File)(f: (File) ⇒ T): T
-
def
withTempFile[T](prefix: String, suffix: String)(f: (File) ⇒ T): T
-
def
writeFile(f: File, is: InputStream, overwrite: Boolean): Unit
-
def
writeFile(f: File, bytes: Array[Byte], overwrite: Boolean): Unit
-
def
writeFile(f: File, contents: String, overwrite: Boolean): Unit
-
def
writeFile[T](f: File, overwrite: Boolean)(fun: (OutputStream) ⇒ T): T
-
def
writeFileWithTemp[T](target: File)(f: (File) ⇒ T): T
-
def
writeRawFile(f: File, is: InputStream, overwrite: Boolean): Unit
-
def
writeRawFile(f: File, overwrite: Boolean)(fun: (OutputStream) ⇒ Unit): Unit
Inherited from AnyRef
Inherited from Any