Uses of Class
org.apache.tika.io.TemporaryResources
Package
Description
IO utilities.
Utilities.
-
Uses of TemporaryResources in org.apache.tika.io
Modifier and TypeMethodDescriptionstatic TikaInputStream
TikaInputStream.get
(InputStream stream, TemporaryResources tmp, Metadata metadata) Casts or wraps the given stream to a TikaInputStream instance.static TikaInputStream
TikaInputStream.get
(Path path, Metadata metadata, TemporaryResources tmp) 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 TemporaryResources in org.apache.tika.renderer
ModifierConstructorDescription -
Uses of TemporaryResources in org.apache.tika.utils
Modifier and TypeMethodDescriptionstatic InputStream
ParserUtils.ensureStreamReReadable
(InputStream stream, TemporaryResources tmp, Metadata metadata) Ensures that the Stream will be able to be re-read, by buffering to a temporary file if required.static InputStream
ParserUtils.streamResetForReRead
(InputStream stream, TemporaryResources tmp) Resets the givenTikaInputStream
(checked byParserUtils.ensureStreamReReadable(InputStream, TemporaryResources, Metadata)
) so that it can be re-read again.