trait
Mimes
extends AnyRef
Abstract Value Members
-
def
warn
(message: String): Unit
Concrete Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
apply
(uri: URI): String
-
def
apply
(bytes: Array[Byte]): String
-
def
apply
(file: File): String
-
def
apply
(input: InputStream): String
-
def
asInstanceOf
[T0]
: T0
-
def
bytesMime
(content: Array[Byte], fallback: String = DefaultMime): String
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
fileMime
(file: File, fallback: String = DefaultMime): String
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
inputStreamMime
(input: InputStream, fallback: String = DefaultMime): String
-
def
isInstanceOf
[T0]
: Boolean
-
def
mimeType
(path: String, fallback: String = DefaultMime): String
-
def
mimeUtil
: MimeUtil2
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
urlMime
(url: String, fallback: String = DefaultMime): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
A utility to help with mime type detection for a given file path or url