public class FetcherManager extends ConfigBase
This forbids multiple fetchers supporting the same name.
| Constructor and Description |
|---|
FetcherManager(List<Fetcher> fetchers) |
| Modifier and Type | Method and Description |
|---|---|
Fetcher |
getFetcher(String fetcherName) |
Set<String> |
getSupported() |
static FetcherManager |
load(Path p) |
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettingspublic FetcherManager(List<Fetcher> fetchers) throws TikaConfigException
TikaConfigExceptionpublic static FetcherManager load(Path p) throws IOException, TikaConfigException
IOExceptionTikaConfigExceptionpublic Fetcher getFetcher(String fetcherName) throws IOException, TikaException
IOExceptionTikaExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.