Package org.apache.tika.pipes.fetcher
Interface Fetcher
- All Known Subinterfaces:
RangeFetcher
- All Known Implementing Classes:
AbstractFetcher,AZBlobFetcher,EmptyFetcher,FileSystemFetcher,GCSFetcher,HttpFetcher,MicrosoftGraphFetcher,S3Fetcher,UrlFetcher
public interface Fetcher
Interface for an object that will fetch an InputStream given
a fetch string. This will also update the metadata object
based on the fetch.
Implementations of Fetcher must be thread safe.
-
Method Summary
Modifier and TypeMethodDescriptionfetch(String fetchKey, Metadata metadata, ParseContext parseContext) getName()
-
Method Details
-
getName
String getName() -
fetch
InputStream fetch(String fetchKey, Metadata metadata, ParseContext parseContext) throws TikaException, IOException - Throws:
TikaExceptionIOException
-