org.parboiled.common

FileUtils

object FileUtils extends

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

Value Members

  1. def copyAll (in: InputStream, out: OutputStream) : Unit

  2. def copyAll (reader: Reader, writer: Writer) : Unit

  3. def ensureParentDir (file: File) : Unit

  4. def ensureParentDir (filename: String) : Unit

  5. def forceMkdir (directory: File) : Unit

  6. def readAllBytes (stream: InputStream) : Array[Byte]

  7. def readAllBytes (file: File) : Array[Byte]

  8. def readAllBytes (filename: String) : Array[Byte]

  9. def readAllBytesFromResource (resource: String) : Array[Byte]

  10. def readAllChars (stream: InputStream, charset: Charset) : Array[Char]

  11. def readAllChars (stream: InputStream) : Array[Char]

  12. def readAllChars (file: File, charset: Charset) : Array[Char]

  13. def readAllChars (file: File) : Array[Char]

  14. def readAllChars (filename: String, charset: Charset) : Array[Char]

  15. def readAllChars (filename: String) : Array[Char]

  16. def readAllCharsFromResource (resource: String, charset: Charset) : Array[Char]

  17. def readAllCharsFromResource (resource: String) : Array[Char]

  18. def readAllText (stream: InputStream, charset: Charset) : String

  19. def readAllText (stream: InputStream) : String

  20. def readAllText (file: File, charset: Charset) : String

  21. def readAllText (file: File) : String

  22. def readAllText (filename: String, charset: Charset) : String

  23. def readAllText (filename: String) : String

  24. def readAllTextFromResource (resource: String, charset: Charset) : String

  25. def readAllTextFromResource (resource: String) : String

  26. def writeAllBytes (data: Array[Byte], stream: OutputStream) : Unit

  27. def writeAllBytes (data: Array[Byte], file: File) : Unit

  28. def writeAllBytes (data: Array[Byte], filename: String) : Unit

  29. def writeAllChars (chars: Array[Char], stream: OutputStream, charset: Charset) : Unit

  30. def writeAllChars (chars: Array[Char], stream: OutputStream) : Unit

  31. def writeAllChars (chars: Array[Char], file: File, charset: Charset) : Unit

  32. def writeAllChars (chars: Array[Char], file: File) : Unit

  33. def writeAllChars (chars: Array[Char], filename: String, charset: Charset) : Unit

  34. def writeAllChars (chars: Array[Char], filename: String) : Unit

  35. def writeAllText (text: String, stream: OutputStream, charset: Charset) : Unit

  36. def writeAllText (text: String, stream: OutputStream) : Unit

  37. def writeAllText (text: String, file: File, charset: Charset) : Unit

  38. def writeAllText (text: String, file: File) : Unit

  39. def writeAllText (text: String, filename: String, charset: Charset) : Unit

  40. def writeAllText (text: String, filename: String) : Unit