org.apache.activemq.apollo.util

IOHelper

object IOHelper extends

go to: companion
Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. trait IOStrategy extends AnyRef

Value Members

  1. def close (in: InputStream) : Unit

  2. def close (out: OutputStream) : Unit

  3. def close (out: Writer) : Unit

  4. def copyFile (src: File, dest: File) : Unit

  5. def copyInputStream (in: InputStream, out: OutputStream) : Unit

  6. def deleteChildren (parent: File) : Boolean

  7. def deleteFile (fileToDelete: File) : Boolean

  8. def getCLibrary () : CLibrary

  9. def getDefaultDataDirectory () : String

  10. def getDefaultDirectoryPrefix () : String

  11. def getDefaultStoreDirectory () : String

  12. def mkdirs (dir: File) : Unit

  13. def moveFile (src: File, targetDirectory: File) : Unit

  14. def readBytes (in: InputStream) : Array[Byte]

  15. def readBytes (path: File) : Array[Byte]

  16. def readText (in: InputStream, encoding: String) : String

  17. def readText (in: InputStream) : String

  18. def readText (path: File, encoding: String) : String

  19. def readText (path: File) : String

  20. def sync (fd: FileDescriptor) : Unit

  21. def toFileSystemDirectorySafeName (name: String) : String

  22. def toFileSystemSafeName (name: String, dirSeparators: Boolean, maxFileLength: Int) : String

  23. def toFileSystemSafeName (name: String) : String

  24. def writeBinaryFile (path: File, contents: Array[Byte]) : Unit

  25. def writeText (path: File, text: String, encoding: String) : Unit

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