Package org.apache.tika.pipes.fetcher.s3
Class S3FetcherFactory
java.lang.Object
org.apache.tika.pipes.fetcher.s3.S3FetcherFactory
- All Implemented Interfaces:
FetcherFactory,TikaExtensionFactory<Fetcher>,org.pf4j.ExtensionPoint
Factory for creating S3 fetchers.
Example JSON configuration:
"fetchers": {
"s3-fetcher": {
"my-s3-fetcher": {
"region": "us-east-1",
"bucket": "my-bucket",
"credentialsProvider": "profile",
"profile": "default",
"extractUserMetadata": true
}
}
}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
S3FetcherFactory
public S3FetcherFactory()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceTikaExtensionFactory<Fetcher>- Returns:
- name of the extension in the config file
-
buildExtension
public Fetcher buildExtension(ExtensionConfig extensionConfig) throws IOException, TikaConfigException - Specified by:
buildExtensionin interfaceTikaExtensionFactory<Fetcher>- Throws:
IOExceptionTikaConfigException
-