Package | Description |
---|---|
org.apache.tika.io |
IO utilities.
|
org.apache.tika.renderer | |
org.apache.tika.utils |
Utilities.
|
Modifier and Type | Method and Description |
---|---|
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)
Deprecated.
|
static 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) |
Constructor and Description |
---|
PageBasedRenderResults(TemporaryResources tmp) |
RenderResults(TemporaryResources tmp) |
Modifier and Type | Method and Description |
---|---|
static 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 given
TikaInputStream (checked by
ParserUtils.ensureStreamReReadable(InputStream, TemporaryResources, Metadata) )
so that it can be re-read again. |
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.