Class ContentResourceReader

java.lang.Object
org.codice.ddf.catalog.content.resource.reader.ContentResourceReader
All Implemented Interfaces:
ddf.catalog.resource.ResourceReader, ddf.catalog.util.Describable, org.codice.ddf.platform.services.common.Describable

public class ContentResourceReader extends Object implements ddf.catalog.resource.ResourceReader
  • Constructor Details

    • ContentResourceReader

      public ContentResourceReader(List<ddf.catalog.content.StorageProvider> storageProviders)
  • Method Details

    • bind

      public void bind(ddf.catalog.content.StorageProvider storageProvider)
    • unbind

      public void unbind(ddf.catalog.content.StorageProvider storageProvider)
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface ddf.catalog.util.Describable
      Specified by:
      getDescription in interface org.codice.ddf.platform.services.common.Describable
    • getId

      public String getId()
      Specified by:
      getId in interface ddf.catalog.util.Describable
      Specified by:
      getId in interface org.codice.ddf.platform.services.common.Describable
    • getOrganization

      public String getOrganization()
      Specified by:
      getOrganization in interface ddf.catalog.util.Describable
      Specified by:
      getOrganization in interface org.codice.ddf.platform.services.common.Describable
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface ddf.catalog.util.Describable
      Specified by:
      getTitle in interface org.codice.ddf.platform.services.common.Describable
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface ddf.catalog.util.Describable
      Specified by:
      getVersion in interface org.codice.ddf.platform.services.common.Describable
    • getOptions

      public Set<String> getOptions(ddf.catalog.data.Metacard metacard)
      Specified by:
      getOptions in interface ddf.catalog.resource.ResourceReader
    • getSupportedSchemes

      public Set<String> getSupportedSchemes()
      Specified by:
      getSupportedSchemes in interface ddf.catalog.resource.ResourceReader
    • retrieveResource

      public ddf.catalog.operation.ResourceResponse retrieveResource(URI resourceUri, Map<String,Serializable> arguments) throws IOException, ddf.catalog.resource.ResourceNotFoundException, ddf.catalog.resource.ResourceNotSupportedException
      Specified by:
      retrieveResource in interface ddf.catalog.resource.ResourceReader
      Throws:
      IOException
      ddf.catalog.resource.ResourceNotFoundException
      ddf.catalog.resource.ResourceNotSupportedException