Class MicrosoftGraphFetcherFactory
java.lang.Object
org.apache.tika.pipes.fetchers.microsoftgraph.MicrosoftGraphFetcherFactory
- All Implemented Interfaces:
FetcherFactory,TikaExtensionFactory<Fetcher>,org.pf4j.ExtensionPoint
Factory for creating Microsoft Graph fetchers.
Example JSON configuration:
"fetchers": {
"microsoft-graph-fetcher": {
"my-graph-fetcher": {
"spoolToTemp": true,
"scopes": ["https://graph.microsoft.com/.default"],
"clientSecretCredentialsConfig": {
"tenantId": "tenant-id",
"clientId": "client-id",
"clientSecret": "client-secret"
}
}
}
}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
MicrosoftGraphFetcherFactory
public MicrosoftGraphFetcherFactory()
-
-
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
-