|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
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
Class Summary | |
---|---|
ApertureMimeTypeDetector | A MimeTypeDetector that uses the Aperture library. |
ExtensionBasedMimeTypeDetector | A MimeTypeDetector that attempts to match the extension of the supplied name against a set of known file extensions. |
MimeTypeDetectors | Implementation of MimeTypeDetector which holds an inner list of different MimeTypeDetector implementations and
queries each of them, in order to determine a mime-type. |
NullMimeTypeDetector | Implementation of MimeTypeDetector which doesn't detect mime-types. |
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.
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |