Package | Description |
---|---|
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 |
---|---|
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(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(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–2017 The Apache Software Foundation. All rights reserved.