Package | Description |
---|---|
org.apache.tika.config |
Tika configuration tools.
|
org.apache.tika.detect |
Media type detection.
|
org.apache.tika.extractor |
Extraction of component documents.
|
org.apache.tika.mime |
Media type information.
|
Modifier and Type | Method and Description |
---|---|
MimeTypes |
TikaConfig.getMimeRepository() |
Modifier and Type | Method and Description |
---|---|
protected static CompositeDetector |
TikaConfig.getDefaultDetector(MimeTypes types,
ServiceLoader loader) |
Constructor and Description |
---|
DefaultDetector(MimeTypes types) |
DefaultDetector(MimeTypes types,
ClassLoader loader) |
DefaultDetector(MimeTypes types,
ServiceLoader loader) |
DefaultDetector(MimeTypes types,
ServiceLoader loader,
Collection<Class<? extends Detector>> excludeDetectors) |
DefaultProbDetector(MimeTypes types) |
Modifier and Type | Method and Description |
---|---|
MimeTypes |
EmbeddedDocumentUtil.getMimeTypes() |
Modifier and Type | Field and Description |
---|---|
protected MimeTypes |
MimeTypesReader.types |
Modifier and Type | Method and Description |
---|---|
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... 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(String coreFilePath,
String extensionFilePath,
ClassLoader classLoader)
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) |
static MimeTypes |
MimeTypes.getDefaultMimeTypes()
Get the default MimeTypes.
|
static MimeTypes |
MimeTypes.getDefaultMimeTypes(ClassLoader classLoader)
Get the default MimeTypes.
|
Constructor and Description |
---|
MimeTypesReader(MimeTypes types) |
ProbabilisticMimeDetectionSelector(MimeTypes mimeTypes) |
ProbabilisticMimeDetectionSelector(MimeTypes mimeTypes,
ProbabilisticMimeDetectionSelector.Builder builder) |
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.