Class FileResourceLoader

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

public class FileResourceLoader extends Object implements nz.org.riskscape.engine.resource.ResourceLoader
  • Constructor Details

    • FileResourceLoader

      public FileResourceLoader()
  • 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) throws nz.org.riskscape.engine.resource.ResourceLoadingException
      Specified by:
      load in interface nz.org.riskscape.engine.resource.ResourceLoader
      Throws:
      nz.org.riskscape.engine.resource.ResourceLoadingException