Package org.apache.tika.pipes.fetcher
Interface RangeFetcher
- All Superinterfaces:
Fetcher
- All Known Implementing Classes:
HttpFetcher
,S3Fetcher
This class extracts a range of bytes from a given fetch key.
-
Method Summary
Modifier and TypeMethodDescriptiondefault InputStream
fetch
(String fetchKey, long startOffset, long endOffset, Metadata metadata, ParseContext parseContext)
-
Method Details
-
fetch
default InputStream fetch(String fetchKey, long startOffset, long endOffset, Metadata metadata) throws TikaException, IOException - Throws:
TikaException
IOException
-
fetch
InputStream fetch(String fetchKey, long startOffset, long endOffset, Metadata metadata, ParseContext parseContext) throws TikaException, IOException - Throws:
TikaException
IOException
-