Uses of Class
org.apache.tika.mime.MimeType
-
Packages that use MimeType Package Description org.apache.tika.mime Media type information. -
-
Uses of MimeType in org.apache.tika.mime
Fields in org.apache.tika.mime declared as MimeType Modifier and Type Field Description protected MimeType
MimeTypesReader. type
Current typeMethods in org.apache.tika.mime that return MimeType Modifier and Type Method Description MimeType
MimeTypes. forName(String name)
Returns the registered media type with the given name (or alias).MimeType
MimeTypes. getMimeType(File file)
Deprecated.UseTika.detect(File)
insteadMimeType
MimeTypes. getMimeType(String name)
Deprecated.UseTika.detect(String)
insteadMimeType
MimeTypes. 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 MimeType Modifier and Type Method Description void
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.int
MimeType. compareTo(MimeType mime)
protected void
MimeTypesReader. handleGlobError(MimeType type, String pattern, MimeTypeException ex, String qName, Attributes attributes)
void
MimeTypes. setSuperType(MimeType type, MediaType parent)
-