Class SwiftObjectStorageResourceLoader

java.lang.Object
nz.org.riskscape.engine.defaults.resource.SwiftObjectStorageResourceLoader
All Implemented Interfaces:
nz.org.riskscape.engine.resource.ResourceLoader

public class SwiftObjectStorageResourceLoader extends Object implements nz.org.riskscape.engine.resource.ResourceLoader

Loads Resources from a cloud storage using the swift APIs.

  • Constructor Details

    • SwiftObjectStorageResourceLoader

      public SwiftObjectStorageResourceLoader()
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface nz.org.riskscape.engine.resource.ResourceLoader
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface nz.org.riskscape.engine.resource.ResourceLoader
    • canLoad

      public boolean canLoad(URI target)
      Specified by:
      canLoad in interface nz.org.riskscape.engine.resource.ResourceLoader
    • load

      public nz.org.riskscape.engine.resource.Resource load(URI target)
      Specified by:
      load in interface nz.org.riskscape.engine.resource.ResourceLoader