fm.common

FileUtil

object FileUtil extends Logging

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FileUtil
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def copy(src: File, dst: File, overwrite: Boolean = true): Unit

  9. def detectCharset(f: File): Option[Charset]

  10. def detectCharsetName(f: File): Option[String]

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def fileExists(file: File): Boolean

  14. def fileExists(file: String): Boolean

  15. def fileOrResourceExists(file: File): Boolean

  16. def fileOrResourceExists(file: String): Boolean

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getDirectoryForFile(f: File): File

  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. lazy val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  23. def md5(f: File): Array[Byte]

  24. def md5Hex(f: File): String

  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def readBytes(f: File): Array[Byte]

  29. def readBytes(file: String): Array[Byte]

  30. def readFile(f: File, encoding: Charset): String

  31. def readFile(f: File, encoding: String): String

  32. def readFile(f: File): String

  33. def readFile(file: String, encoding: Charset): String

  34. def readFile(file: String, encoding: String): String

  35. def readFile(file: String): String

  36. def readFileOrResource(f: File, encoding: Charset): String

  37. def readFileOrResource(f: File, encoding: String): String

  38. def readFileOrResource(f: File): String

  39. def readFileOrResource(file: String, encoding: Charset): String

  40. def readFileOrResource(file: String, encoding: String): String

  41. def readFileOrResource(file: String): String

  42. def readInputStream(is: InputStream, charset: Charset): String

  43. def readInputStream(is: InputStream, encoding: String): String

  44. def readInputStream(is: InputStream): String

  45. def readLines(resource: Resource[BufferedReader])(f: (String) ⇒ Unit): Unit

  46. def readLines(is: InputStream)(f: (String) ⇒ Unit): Unit

  47. def readLines(file: File)(f: (String) ⇒ Unit): Unit

  48. def readResource(f: File, encoding: Charset): String

  49. def readResource(f: File, encoding: String): String

  50. def readResource(f: File): String

  51. def readResource(file: String, encoding: Charset): String

  52. def readResource(file: String, encoding: String): String

  53. def readResource(file: String): String

  54. def resourceExists(file: File): Boolean

  55. def resourceExists(file: String): Boolean

  56. def rm_rf(dir: File, keepDirectory: Boolean = false): Boolean

  57. def sha1(f: File): Array[Byte]

  58. def sha1Hex(f: File): String

  59. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  60. def toString(): String

    Definition Classes
    AnyRef → Any
  61. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. def writeFile(f: File, is: InputStream, overwrite: Boolean): Unit

  65. def writeFile(f: File, bytes: Array[Byte], overwrite: Boolean): Unit

  66. def writeFile(f: File, contents: String, overwrite: Boolean): Unit

  67. def writeFile[T](f: File, overwrite: Boolean)(fun: (OutputStream) ⇒ T): T

  68. def writeFileWithTemp[T](target: File)(f: (File) ⇒ T): T

    Creates a tmp file that can be written to and then will be atomically renamed to the target

  69. def writeRawFile(f: File, is: InputStream, overwrite: Boolean): Unit

  70. def writeRawFile(f: File, overwrite: Boolean)(fun: (OutputStream) ⇒ Unit): Unit

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped