Class GcsStorage.Factory
java.lang.Object
com.codename1.backend.storage.gcs.GcsStorage.Factory
- All Implemented Interfaces:
ObjectStorages.Factory
- Enclosing class:
GcsStorage
Opens gs:// URLs for ObjectStorages: gs:// or gs://<project>.
The key file is cn1.storage.gcs.credentials, else
GOOGLE_APPLICATION_CREDENTIALS, else the metadata server answers. An
emulator at cn1.storage.gcs.emulator-host or STORAGE_EMULATOR_HOST
takes precedence over both. cn1.storage.gcs.location is where
GcsStorage.createBucket(String) puts a bucket.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe storageurlnames, configured fromconfig(which may be null).
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
open
Description copied from interface:ObjectStorages.FactoryThe storageurlnames, configured fromconfig(which may be null).- Specified by:
openin interfaceObjectStorages.Factory- Throws:
IOException
-