Package | Description |
---|---|
org.apache.tika.detect.apple | |
org.apache.tika.detect.microsoft.ooxml | |
org.apache.tika.detect.zip | |
org.apache.tika.extractor |
Extraction of component documents.
|
org.apache.tika.io |
IO utilities.
|
org.apache.tika.sax |
SAX utilities.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
IWorkDetector.detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile,
TikaInputStream tis) |
Modifier and Type | Method and Description |
---|---|
MediaType |
OPCPackageDetector.detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile,
TikaInputStream stream) |
Modifier and Type | Method and Description |
---|---|
MediaType |
JarDetector.detect(org.apache.commons.compress.archivers.zip.ZipFile zip,
TikaInputStream tis) |
MediaType |
ZipContainerDetector.detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile,
TikaInputStream tis)
If detection is successful, the ZipDetector should set the zip
file or OPCPackage in TikaInputStream.setOpenContainer()
Implementations should _not_ close the ZipFile
|
MediaType |
IPADetector.detect(org.apache.commons.compress.archivers.zip.ZipFile zip,
TikaInputStream tis) |
MediaType |
StarOfficeDetector.detect(org.apache.commons.compress.archivers.zip.ZipFile zip,
TikaInputStream tis) |
MediaType |
KMZDetector.detect(org.apache.commons.compress.archivers.zip.ZipFile zip,
TikaInputStream tis) |
MediaType |
OpenDocumentDetector.detect(org.apache.commons.compress.archivers.zip.ZipFile zip,
TikaInputStream tis) |
Modifier and Type | Method and Description |
---|---|
void |
ContainerExtractor.extract(TikaInputStream stream,
ContainerExtractor recurseExtractor,
EmbeddedResourceHandler handler)
Processes a container file, and extracts all the embedded
resources from within it.
|
void |
ParserContainerExtractor.extract(TikaInputStream stream,
ContainerExtractor recurseExtractor,
EmbeddedResourceHandler handler) |
String |
EmbeddedDocumentUtil.getExtension(TikaInputStream is,
Metadata metadata) |
boolean |
ContainerExtractor.isSupported(TikaInputStream input)
Is this Container Extractor able to process the
supplied container?
|
boolean |
ParserContainerExtractor.isSupported(TikaInputStream input) |
Modifier and Type | Method and Description |
---|---|
static TikaInputStream |
TikaInputStream.cast(InputStream stream)
Returns the given stream casts to a TikaInputStream, or
null if the stream is not a TikaInputStream. |
static TikaInputStream |
TikaInputStream.get(Blob blob)
Creates a TikaInputStream from the given database BLOB.
|
static TikaInputStream |
TikaInputStream.get(Blob blob,
Metadata metadata)
Creates a TikaInputStream from the given database BLOB.
|
static TikaInputStream |
TikaInputStream.get(byte[] data)
Creates a TikaInputStream from the given array of bytes.
|
static TikaInputStream |
TikaInputStream.get(byte[] data,
Metadata metadata)
Creates a TikaInputStream from the given array of bytes.
|
static TikaInputStream |
TikaInputStream.get(File file)
Deprecated.
use
get(Path) . In Tika 2.0, this will be removed
or modified to throw an IOException. |
static TikaInputStream |
TikaInputStream.get(File file,
Metadata metadata)
Deprecated.
use
get(Path, Metadata) . In Tika 2.0,
this will be removed or modified to throw an IOException. |
static TikaInputStream |
TikaInputStream.get(InputStream stream)
Casts or wraps the given stream to a TikaInputStream instance.
|
static TikaInputStream |
TikaInputStream.get(InputStreamFactory factory)
Creates a TikaInputStream from a Factory which can create
fresh
InputStream s for the same resource multiple times. |
static TikaInputStream |
TikaInputStream.get(InputStreamFactory factory,
TemporaryResources tmp)
Creates a TikaInputStream from a Factory which can create
fresh
InputStream s for the same resource multiple times. |
static TikaInputStream |
TikaInputStream.get(InputStream stream,
TemporaryResources tmp)
Casts or wraps the given stream to a TikaInputStream instance.
|
static TikaInputStream |
TikaInputStream.get(Path path)
Creates a TikaInputStream from the file at the given path.
|
static TikaInputStream |
TikaInputStream.get(Path path,
Metadata metadata)
Creates a TikaInputStream from the file at the given path.
|
static TikaInputStream |
TikaInputStream.get(Path path,
Metadata metadata,
TemporaryResources tmp) |
static TikaInputStream |
TikaInputStream.get(URI uri)
Creates a TikaInputStream from the resource at the given URI.
|
static TikaInputStream |
TikaInputStream.get(URI uri,
Metadata metadata)
Creates a TikaInputStream from the resource at the given URI.
|
static TikaInputStream |
TikaInputStream.get(URL url)
Creates a TikaInputStream from the resource at the given URL.
|
static TikaInputStream |
TikaInputStream.get(URL url,
Metadata metadata)
Creates a TikaInputStream from the resource at the given URL.
|
Constructor and Description |
---|
SecureContentHandler(ContentHandler handler,
TikaInputStream stream)
Decorates the given content handler with zip bomb prevention based
on the count of bytes read from the given counting input stream.
|
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.