object
FileUtil
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
deleteDirectoryIfEmpty(dir: File): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
generateFileId: String
-
final
def
getClass(): Class[_]
-
def
getContentType(name: String, bytes: Array[Byte]): String
-
def
getExtension(name: String): String
-
def
getLfsFilePath(owner: String, repository: String, oid: String): String
-
def
getMimeType(name: String): String
-
def
hashCode(): Int
-
def
isImage(name: String): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isLarge(size: Long): Boolean
-
def
isText(content: Array[Byte]): Boolean
-
def
isUploadableType(name: String): Boolean
-
val
mimeTypeWhiteList: Array[String]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
readableSize(size: Long): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withTmpDir[A](dir: File)(action: (File) ⇒ A): A
Inherited from AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Any
Value Members
-
final
def
asInstanceOf[T0]: T0
-
final
def
isInstanceOf[T0]: Boolean
Ungrouped
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
deleteDirectoryIfEmpty(dir: File): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
generateFileId: String
-
final
def
getClass(): Class[_]
-
def
getContentType(name: String, bytes: Array[Byte]): String
-
def
getExtension(name: String): String
-
def
getLfsFilePath(owner: String, repository: String, oid: String): String
-
def
getMimeType(name: String): String
-
def
hashCode(): Int
-
def
isImage(name: String): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isLarge(size: Long): Boolean
-
def
isText(content: Array[Byte]): Boolean
-
def
isUploadableType(name: String): Boolean
-
val
mimeTypeWhiteList: Array[String]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
readableSize(size: Long): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withTmpDir[A](dir: File)(action: (File) ⇒ A): A