Uses of Class
org.apache.tika.io.TikaInputStream
-
Packages that use TikaInputStream 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.parser.pdf org.apache.tika.renderer.pdf.pdfbox org.apache.tika.sax SAX utilities. -
-
Uses of TikaInputStream in org.apache.tika.detect.apple
Methods in org.apache.tika.detect.apple with parameters of type TikaInputStream Modifier and Type Method Description MediaType
IWorkDetector. detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile, TikaInputStream tis)
-
Uses of TikaInputStream in org.apache.tika.detect.microsoft.ooxml
Methods in org.apache.tika.detect.microsoft.ooxml with parameters of type TikaInputStream Modifier and Type Method Description MediaType
OPCPackageDetector. detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile, TikaInputStream stream)
-
Uses of TikaInputStream in org.apache.tika.detect.zip
Methods in org.apache.tika.detect.zip with parameters of type TikaInputStream Modifier and Type Method Description MediaType
FrictionlessPackageDetector. detect(org.apache.commons.compress.archivers.zip.ZipFile zip, TikaInputStream tis)
MediaType
IPADetector. detect(org.apache.commons.compress.archivers.zip.ZipFile zip, TikaInputStream tis)
MediaType
JarDetector. 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)
MediaType
StarOfficeDetector. 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 -
Uses of TikaInputStream in org.apache.tika.extractor
Methods in org.apache.tika.extractor with parameters of type TikaInputStream Modifier and Type Method 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)
-
Uses of TikaInputStream in org.apache.tika.io
Methods in org.apache.tika.io that return TikaInputStream Modifier and Type Method Description static TikaInputStream
TikaInputStream. cast(InputStream stream)
Returns the given stream casts to a TikaInputStream, ornull
if the stream is not a TikaInputStream.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.useget(Path)
.static TikaInputStream
TikaInputStream. get(File file, Metadata metadata)
Deprecated.useget(Path, Metadata)
.static TikaInputStream
TikaInputStream. get(InputStream stream)
Casts or wraps the given stream to a TikaInputStream instance.static TikaInputStream
TikaInputStream. get(InputStream stream, TemporaryResources tmp, Metadata metadata)
Casts or wraps the given stream to a TikaInputStream instance.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.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(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(InputStreamFactory factory)
Creates a TikaInputStream from a Factory which can create freshInputStream
s for the same resource multiple times.static TikaInputStream
TikaInputStream. get(InputStreamFactory factory, TemporaryResources tmp)
Creates a TikaInputStream from a Factory which can create freshInputStream
s for the same resource multiple times. -
Uses of TikaInputStream in org.apache.tika.parser.pdf
Methods in org.apache.tika.parser.pdf with parameters of type TikaInputStream Modifier and Type Method Description protected org.apache.pdfbox.pdmodel.PDDocument
PDFParser. getPDDocument(InputStream stream, TikaInputStream tstream, String password, org.apache.pdfbox.io.RandomAccessStreamCache.StreamCacheCreateFunction streamCacheCreateFunction, Metadata metadata, ParseContext context)
-
Uses of TikaInputStream in org.apache.tika.renderer.pdf.pdfbox
Methods in org.apache.tika.renderer.pdf.pdfbox that return TikaInputStream Modifier and Type Method Description TikaInputStream
PDFRenderingState. getTikaInputStream()
Constructors in org.apache.tika.renderer.pdf.pdfbox with parameters of type TikaInputStream Constructor Description PDFRenderingState(TikaInputStream tis)
-
Uses of TikaInputStream in org.apache.tika.sax
Constructors in org.apache.tika.sax with parameters of type TikaInputStream Constructor 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.
-