Class AZBlobFetcherFactory
java.lang.Object
org.apache.tika.pipes.fetcher.azblob.AZBlobFetcherFactory
- All Implemented Interfaces:
FetcherFactory,TikaExtensionFactory<Fetcher>,org.pf4j.ExtensionPoint
Factory for creating Azure Blob Storage fetchers.
Example JSON configuration:
"fetchers": {
"az-blob-fetcher": {
"my-az-fetcher": {
"sasToken": "your-sas-token",
"endpoint": "https://account.blob.core.windows.net",
"container": "my-container",
"extractUserMetadata": true
}
}
}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
AZBlobFetcherFactory
public AZBlobFetcherFactory()
-
-
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
-