Uses of Class
org.apache.tika.mime.MimeType
Packages that use MimeType
-
Uses of MimeType in org.apache.tika.mime
Fields in org.apache.tika.mime declared as MimeTypeMethods in org.apache.tika.mime that return MimeTypeModifier and TypeMethodDescriptionReturns the registered media type with the given name (or alias).MimeTypes.getMimeType(File file) Deprecated.MimeTypes.getMimeType(String name) Deprecated.UseTika.detect(String)insteadMimeTypes.getRegisteredMimeType(String name) Returns the registered, normalised media type with the given name (or alias).Methods in org.apache.tika.mime with parameters of type MimeTypeModifier 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.intprotected voidMimeTypesReader.handleGlobError(MimeType type, String pattern, MimeTypeException ex, String qName, Attributes attributes) voidMimeTypes.setSuperType(MimeType type, MediaType parent)
Tika.detect(File)instead