Class DataURILoader

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

public class DataURILoader extends Object implements nz.org.riskscape.engine.resource.ResourceLoader
  • Field Details

    • DEFAULT_ENCODING

      public static final Charset DEFAULT_ENCODING
  • Constructor Details

    • DataURILoader

      public DataURILoader(nz.org.riskscape.engine.Engine engine)
  • 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