Class GCSFetcherFactory
java.lang.Object
org.apache.tika.pipes.fetcher.gcs.GCSFetcherFactory
- All Implemented Interfaces:
FetcherFactory,TikaExtensionFactory<Fetcher>,org.pf4j.ExtensionPoint
Factory for creating Google Cloud Storage fetchers.
Example JSON configuration:
"fetchers": {
"gcs-fetcher": {
"my-gcs-fetcher": {
"projectId": "my-project",
"bucket": "my-bucket",
"spoolToTemp": true,
"extractUserMetadata": true
}
}
}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
GCSFetcherFactory
public GCSFetcherFactory()
-
-
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
-