Methods in org.apache.tika.mime that return MimeTypes |
static MimeTypes |
MimeTypesFactory.create()
Creates an empty instance; same as calling new MimeTypes(). |
static MimeTypes |
MimeTypesFactory.create(org.w3c.dom.Document document)
Creates and returns a MimeTypes instance from the specified document. |
static MimeTypes |
MimeTypesFactory.create(java.io.InputStream inputStream)
Creates and returns a MimeTypes instance from the specified input stream. |
static MimeTypes |
MimeTypesFactory.create(java.lang.String filePath)
Creates and returns a MimeTypes instance from the specified file path,
as interpreted by the class loader in getResource(). |
static MimeTypes |
MimeTypesFactory.create(java.net.URL url)
Creates and returns a MimeTypes instance from the resource
at the location specified by the URL. |
static MimeTypes |
MimeTypes.getDefaultMimeTypes()
Get the default MimeTypes |