Uses of Class
org.apache.tika.mime.MimeTypeException
Packages that use MimeTypeException
Package
Description
Tika configuration tools.
Media type information.
-
Uses of MimeTypeException in org.apache.tika.config
Constructors in org.apache.tika.config that throw MimeTypeExceptionModifierConstructorDescriptionTikaConfig(ClassLoader loader) Creates a Tika configuration from the built-in media type rules and all theParserimplementations available through theservice provider mechanismin the given class loader. -
Uses of MimeTypeException in org.apache.tika.mime
Methods in org.apache.tika.mime with parameters of type MimeTypeExceptionModifier and TypeMethodDescriptionprotected voidMimeTypesReader.handleGlobError(MimeType type, String pattern, MimeTypeException ex, String qName, Attributes attributes) protected voidMimeTypesReader.handleMimeError(String input, MimeTypeException ex, String qName, Attributes attributes) Methods in org.apache.tika.mime that throw MimeTypeExceptionModifier and TypeMethodDescriptionvoidMimeTypes.addPattern(MimeType type, String pattern) Adds a file name pattern for the given media type.voidMimeTypes.addPattern(MimeType type, String pattern, boolean isRegex) Adds a file name pattern for the given media type.static MimeTypesMimeTypesFactory.create(InputStream stream) static MimeTypesMimeTypesFactory.create(InputStream... inputStreams) Creates and returns a MimeTypes instance from the specified input stream.static MimeTypesCreates and returns a MimeTypes instance from the specified file path, as interpreted by the class loader in getResource().static MimeTypesCreates and returns a MimeTypes instance.static MimeTypesMimeTypesFactory.create(String coreFilePath, String extensionFilePath, ClassLoader classLoader) Creates and returns a MimeTypes instance.static MimeTypesstatic MimeTypesCreates and returns a MimeTypes instance from the resource at the location specified by the URL.static MimeTypesCreates 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).voidMimeTypesReader.read(InputStream stream) void
Tika.detect(File)instead