|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MimeTypeException | |
|---|---|
| org.apache.tika.config | Tika configuration tools. |
| org.apache.tika.mime | Media type information. |
| Uses of MimeTypeException in org.apache.tika.config |
|---|
| Constructors in org.apache.tika.config that throw MimeTypeException | |
|---|---|
TikaConfig(ClassLoader loader)
Creates a Tika configuration from the built-in media type rules and all the Parser implementations available through the
service provider mechanism in the given
class loader. |
|
| Uses of MimeTypeException in org.apache.tika.mime |
|---|
| Methods in org.apache.tika.mime with parameters of type MimeTypeException | |
|---|---|
protected void |
MimeTypesReader.handleGlobError(MimeType type,
String pattern,
MimeTypeException ex,
String qName,
Attributes attributes)
|
protected void |
MimeTypesReader.handleMimeError(String input,
MimeTypeException ex,
String qName,
Attributes attributes)
|
| Methods in org.apache.tika.mime that throw MimeTypeException | |
|---|---|
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. |
static MimeTypes |
MimeTypesFactory.create(Document document)
Creates and returns a MimeTypes instance from the specified document. |
static MimeTypes |
MimeTypesFactory.create(InputStream... inputStreams)
Creates and returns a MimeTypes instance from the specified input stream. |
static MimeTypes |
MimeTypesFactory.create(InputStream 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(String coreFilePath,
String extensionFilePath)
Creates and returns a MimeTypes instance. |
static MimeTypes |
MimeTypesFactory.create(URL... urls)
Creates and returns a MimeTypes instance from the resource at the location specified by the URL. |
static MimeTypes |
MimeTypesFactory.create(URL url)
|
MimeType |
MimeTypes.forName(String name)
Returns the registered media type with the given name (or alias). |
MimeType |
MimeTypes.getMimeType(File file)
Deprecated. Use Tika.detect(File) instead |
MimeType |
MimeTypes.getRegisteredMimeType(String name)
Returns the registered media type with the given name (or alias). |
void |
MimeTypesReader.read(Document document)
|
void |
MimeTypesReader.read(InputStream stream)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||