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, configure, handleSettings
public FetcherManager(List<Fetcher> fetchers) throws TikaConfigException
TikaConfigException
public static FetcherManager load(Path p) throws IOException, TikaConfigException
IOException
TikaConfigException
public Fetcher getFetcher(String fetcherName) throws IOException, TikaException
IOException
TikaException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.