|
|||||||||
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
Interface Summary | |
---|---|
MimeTypeDetector | MIME-type detection libraries must provide thread-safe implementations of this interface to enable DNA 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. |
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.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |