Class UrlFetcher
java.lang.Object
org.apache.tika.pipes.fetcher.AbstractFetcher
org.apache.tika.pipes.fetcher.url.UrlFetcher
- All Implemented Interfaces:
Fetcher
Simple fetcher for URLs. This simply calls
TikaInputStream.get(URL).
This intentionally does not support fetching for files.
Please use the FileSystemFetcher for that. If you need more advanced control (passwords,
timeouts, proxies, etc), please use the tika-fetcher-http module.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetch(String fetchKey, Metadata metadata, ParseContext parseContext) Methods inherited from class org.apache.tika.pipes.fetcher.AbstractFetcher
getName, setName
-
Constructor Details
-
UrlFetcher
public UrlFetcher()
-
-
Method Details
-
fetch
public InputStream fetch(String fetchKey, Metadata metadata, ParseContext parseContext) throws IOException, TikaException - Throws:
IOExceptionTikaException
-