ModeShape Distribution 3.0.0.Beta4

Package org.modeshape.jcr.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

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.
 

Package org.modeshape.jcr.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.


ModeShape Distribution 3.0.0.Beta4

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