# Package org.modeshape.jcr.mimetype

This package defines an internal adapter framework for detecting MIME types.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  MimeTypeDetector | MIME-type detection libraries must provide thread-safe implementations of this interface to enable ModeShape to use the libraries to return MIME-types for data sources.

- Class Summary
  Class | Description
  --- | ---
  MimeTypeDetectors | Implementation of `MimeTypeDetector` that can be used to detect MIME types.
  NullMimeTypeDetector | Implementation of `MimeTypeDetector` which doesn't detect mime-types.
  TikaMimeTypeDetector | A `MimeTypeDetector` that uses the Tika library.

## Package org.modeshape.jcr.mimetype Description

This package defines an internal adapter framework for detecting MIME types. The framework generally wraps the Tika library, but is capable of being used without error but with significantly degraded functionality when Tika is not available on the classpath. Thus, Tika can be removed if MIME type detection is not required.

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.