skinny.micro

Mimes

trait Mimes extends AnyRef

A utility to help with mime type detection for a given file path or url

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Mimes
  2. AnyRef
  3. 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. def apply(uri: URI): String

  7. def apply(bytes: Array[Byte]): String

  8. def apply(file: File): String

  9. def apply(input: InputStream): String

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def bytesMime(content: Array[Byte], fallback: String = DefaultMime): String

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. def fileMime(file: File, fallback: String = DefaultMime): String

  16. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. def inputStreamMime(input: InputStream, fallback: String = DefaultMime): String

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def isTextMime(mime: String): Boolean

  22. def mimeType(path: String, fallback: String = DefaultMime): String

    Detects the mime type of a given file path.

    Detects the mime type of a given file path.

    path

    The path for which to detect the mime type

    fallback

    A fallback value in case no mime type can be found

  23. def mimeUtil: MimeUtil2

    Attributes
    protected[this]
  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def urlMime(url: String, fallback: String = DefaultMime): String

    Detects the mime type of a given url.

    Detects the mime type of a given url.

    url

    The url for which to detect the mime type

    fallback

    A fallback value in case no mime type can be found

  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( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped