public class UrlFetcher extends AbstractFetcher
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 and Description |
---|
UrlFetcher() |
Modifier and Type | Method and Description |
---|---|
InputStream |
fetch(String fetchKey,
Metadata metadata) |
getName, setName
public InputStream fetch(String fetchKey, Metadata metadata) throws IOException, TikaException
IOException
TikaException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.