|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MimeType | |
---|---|
org.apache.tika.mime |
Uses of MimeType in org.apache.tika.mime |
---|
Methods in org.apache.tika.mime that return MimeType | |
---|---|
MimeType |
MimeTypes.forName(java.lang.String name)
Returns the registered media type with the given name (or alias). |
MimeType |
MimeTypes.getMimeType(byte[] data)
Returns the MIME type that best matches the given first few bytes of a document stream. |
MimeType |
MimeTypes.getMimeType(java.io.File file)
Find the Mime Content Type of a file. |
MimeType |
MimeTypes.getMimeType(java.io.InputStream stream)
Returns the MIME type that best matches the first few bytes of the given document stream. |
MimeType |
MimeTypes.getMimeType(java.lang.String name)
Find the Mime Content Type of a document from its name. |
MimeType |
MimeTypes.getMimeType(java.lang.String name,
byte[] data)
Find the Mime Content Type of a document from its name and its content. |
MimeType |
MimeTypes.getMimeType(java.lang.String name,
java.io.InputStream stream)
Returns the MIME type that best matches the given document name and the first few bytes of the given document stream. |
MimeType |
MimeTypes.getMimeType(java.net.URL url)
Find the Mime Content Type of a document from its URL. |
MimeType |
MimeType.getSuperType()
Returns the parent of this media type. |
Methods in org.apache.tika.mime with parameters of type MimeType | |
---|---|
void |
MimeTypes.addPattern(MimeType type,
java.lang.String pattern)
Adds a file name pattern for the given media type. |
void |
MimeTypes.addPattern(MimeType type,
java.lang.String pattern,
boolean isRegex)
Adds a file name pattern for the given media type. |
int |
MimeType.compareTo(MimeType type)
|
boolean |
MimeType.isDescendantOf(MimeType type)
|
void |
MimeType.setSuperType(MimeType type)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |