Object

io.archivesunleashed.matchbox

DetectMimeTypeTika

Related Doc: package matchbox

Permalink

object DetectMimeTypeTika

Detect MIME type using Apache Tika.

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

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val allMimeTypes: MimeTypes

    Permalink
  5. def apply(content: Array[Byte]): String

    Permalink

    Detect MIME type from an input string.

    Detect MIME type from an input string.

    content

    a byte array of content for which to detect the MimeType

    returns

    MIME type (e.g. "text/html" or "application/xml") or "N/A".

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val detector: DefaultDetector

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getExtension(mimeType: String): String

    Permalink

    Return the best guess at a file extension from a MIME type string

    Return the best guess at a file extension from a MIME type string

    mimeType

    string representation of the MimeType

    returns

    file extension (e.g. ".jpg" for "image/jpeg").

  14. def getExtensions(mimeType: String): List[String]

    Permalink

    Return the list of all known file extensions for a MIME type string

    Return the list of all known file extensions for a MIME type string

    mimeType

    string representation of the MimeType

    returns

    list of file extensions (e.g. ".jpg" for "image/jpeg").

  15. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. val parser: AutoDetectParser

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

    Permalink
    Definition Classes
    AnyRef
  22. val tika: Tika

    Permalink
  23. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped