Package org.apache.tika.pipes.fetcher
Interface RangeFetcher
-
- All Superinterfaces:
Fetcher
- All Known Implementing Classes:
HttpFetcher
,S3Fetcher
public interface RangeFetcher extends Fetcher
This class extracts a range of bytes from a given fetch key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InputStream
fetch(String fetchKey, long startOffset, long endOffset, Metadata metadata)
InputStream
fetch(String fetchKey, long startOffset, long endOffset, Metadata metadata, ParseContext parseContext)
-
-
-
Method Detail
-
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
-
-