object FileUtil

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def deleteDirectoryIfEmpty(dir: File): Unit

    Delete the given directory if it's empty.

    Delete the given directory if it's empty. Do nothing if the given File is not a directory or not empty.

  7. def deleteIfExists(file: File): File

    Delete file or directory forcibly.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def generateFileId: String
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def getContentType(name: String, bytes: Array[Byte]): String
  14. def getExtension(name: String): String
  15. def getLfsFilePath(owner: String, repository: String, oid: String): String
  16. def getMimeType(name: String): String
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  18. def isImage(name: String): Boolean
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isLarge(size: Long): Boolean
  21. def isText(content: Array[Byte]): Boolean
  22. def isUploadableType(name: String): Boolean
  23. val mimeTypeWhiteList: Array[String]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  27. def readableSize(size: Long): String
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withTmpDir[A](dir: File)(action: (File) ⇒ A): A

Inherited from AnyRef

Inherited from Any

Ungrouped