Class SolidNonRDFSource

java.lang.Object
com.inrupt.client.NonRDFSource
com.inrupt.client.solid.SolidNonRDFSource
All Implemented Interfaces:
Resource, SolidResource, AutoCloseable

public class SolidNonRDFSource extends NonRDFSource implements SolidResource
A non-RDF-bearing Solid Resource.
  • Constructor Details

    • SolidNonRDFSource

      public SolidNonRDFSource(URI identifier, String contentType, InputStream entity)
      Create a non-RDF-bearing Solid Resource.
      Parameters:
      identifier - the resource identifier
      contentType - the content type
      entity - the entity
    • SolidNonRDFSource

      @Deprecated public SolidNonRDFSource(URI identifier, String contentType, InputStream entity, Metadata metadata)
      Create a non-RDF-bearing Solid Resource.
      Parameters:
      identifier - the resource identifier
      contentType - the content type
      entity - the entity
      metadata - the metadata, may be null
    • SolidNonRDFSource

      public SolidNonRDFSource(URI identifier, String contentType, InputStream entity, Headers headers)
      Create a non-RDF-bearing Solid Resource.
      Parameters:
      identifier - the resource identifier
      contentType - the content type
      entity - the entity
      headers - the headers, may be null
  • Method Details