object
IOHelper
extends
Value Members
-
def
close
(in: InputStream): Unit
-
def
close
(out: OutputStream): Unit
-
def
close
(out: Writer): Unit
-
def
copyFile
(src: File, dest: File): Unit
-
def
copyInputStream
(in: InputStream, out: OutputStream): Unit
-
def
deleteChildren
(parent: File): Boolean
-
def
deleteFile
(fileToDelete: File): Boolean
-
def
getCLibrary
(): CLibrary
-
def
getDefaultDataDirectory
(): String
-
def
getDefaultDirectoryPrefix
(): String
-
def
getDefaultStoreDirectory
(): String
-
-
def
hardlink
(source: File, target: File): Unit
-
def
mkdirs
(dir: File): Unit
-
def
moveFile
(src: File, targetDirectory: File): Unit
-
def
readBytes
(in: InputStream): Array[Byte]
-
def
readBytes
(path: File): Array[Byte]
-
def
readText
(in: InputStream, encoding: String): String
-
def
readText
(in: InputStream): String
-
def
readText
(path: File, encoding: String): String
-
def
readText
(path: File): String
-
def
sync
(fd: FileDescriptor): Unit
-
def
toFileSystemDirectorySafeName
(name: String): String
-
def
toFileSystemSafeName
(name: String, dirSeparators: Boolean, maxFileLength: Int): String
-
def
toFileSystemSafeName
(name: String): String
-
def
writeBinaryFile
(path: File, contents: Array[Byte]): Unit
-
def
writeText
(path: File, text: String, encoding: String): Unit
-
def
writeText
(path: File, text: String): Unit