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(Document document)
Creates and returns a MimeTypes instance from the specified document. |
static MimeTypes |
MimeTypesFactory.create(InputStream inputStream)
Creates and returns a MimeTypes instance from the specified input stream. |
static MimeTypes |
MimeTypesFactory.create(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(URL url)
Creates and returns a MimeTypes instance from the resource
at the location specified by the URL. |