Uses of Class
org.apache.tika.mime.MimeTypeException
Package
Description
Tika configuration tools.
Media type information.
-
Uses of MimeTypeException in org.apache.tika.config
ModifierConstructorDescriptionTikaConfig
(ClassLoader loader) Creates a Tika configuration from the built-in media type rules and all theParser
implementations available through theservice provider mechanism
in the given class loader. -
Uses of MimeTypeException in org.apache.tika.mime
Modifier and TypeMethodDescriptionprotected void
MimeTypesReader.handleGlobError
(MimeType type, String pattern, MimeTypeException ex, String qName, Attributes attributes) protected void
MimeTypesReader.handleMimeError
(String input, MimeTypeException ex, String qName, Attributes attributes) Modifier and TypeMethodDescriptionvoid
MimeTypes.addPattern
(MimeType type, String pattern) Adds a file name pattern for the given media type.void
MimeTypes.addPattern
(MimeType type, String pattern, boolean isRegex) Adds a file name pattern for the given media type.static MimeTypes
MimeTypesFactory.create
(InputStream stream) static MimeTypes
MimeTypesFactory.create
(InputStream... inputStreams) Creates and returns a MimeTypes instance from the specified input stream.static MimeTypes
Creates and returns a MimeTypes instance from the specified file path, as interpreted by the class loader in getResource().static MimeTypes
Creates and returns a MimeTypes instance.static MimeTypes
MimeTypesFactory.create
(String coreFilePath, String extensionFilePath, ClassLoader classLoader) Creates and returns a MimeTypes instance.static MimeTypes
static MimeTypes
Creates and returns a MimeTypes instance from the resource at the location specified by the URL.static MimeTypes
Creates and returns a MimeTypes instance from the specified document.Returns the registered media type with the given name (or alias).MimeTypes.getMimeType
(File file) Deprecated.MimeTypes.getRegisteredMimeType
(String name) Returns the registered, normalised media type with the given name (or alias).void
MimeTypesReader.read
(InputStream stream) void
Tika.detect(File)
instead