Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.modeshape.graph.mimetype

This package defines an interface for the `MIME type detector`, which represents a component that is able to determine the MIME type for a stream of data and/or the name of the file containing the data.

See:
Description

Interface Summary
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
ExtensionBasedMimeTypeDetector | A `MimeTypeDetector` that attempts to match the extension of the supplied name against a set of known file extensions.
MimeTypeDetectorConfig | A configuration for a `MimeTypeDetector` component.
MimeTypeDetectors | Facility for managing `MimeTypeDetectorConfig`s.

## Package org.modeshape.graph.mimetype Description

This package defines an interface for the `MIME type detector`, which represents a component that is able to determine the MIME type for a stream of data and/or the name of the file containing the data. One implementation that uses the `filename extensions` is provided as a lightweight, flexible, and customizeable implementation.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

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