Package org.apache.tika.pipes.fetcher
Interface Fetcher
-
- All Known Subinterfaces:
RangeFetcher
- All Known Implementing Classes:
AbstractFetcher
,AZBlobFetcher
,EmptyFetcher
,FileSystemFetcher
,GCSFetcher
,HttpFetcher
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
fetch(String fetchKey, Metadata metadata)
String
getName()
-
-
-
Method Detail
-
getName
String getName()
-
fetch
InputStream fetch(String fetchKey, Metadata metadata) throws TikaException, IOException
- Throws:
TikaException
IOException
-
-