Package com.inrupt.client.solid
Class SolidNonRDFSource
java.lang.Object
com.inrupt.client.NonRDFSource
com.inrupt.client.solid.SolidNonRDFSource
- All Implemented Interfaces:
Resource,SolidResource,AutoCloseable
A non-RDF-bearing Solid Resource.
-
Constructor Summary
ConstructorsConstructorDescriptionSolidNonRDFSource(URI identifier, String contentType, InputStream entity) Create a non-RDF-bearing Solid Resource.SolidNonRDFSource(URI identifier, String contentType, InputStream entity, Headers headers) Create a non-RDF-bearing Solid Resource. -
Method Summary
Methods inherited from class com.inrupt.client.NonRDFSource
close, getContentType, getEntity, getHeaders, getIdentifierMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface com.inrupt.client.Resource
getContentType, getEntity, getHeaders, getIdentifier
-
Constructor Details
-
SolidNonRDFSource
Create a non-RDF-bearing Solid Resource.- Parameters:
identifier- the resource identifiercontentType- the content typeentity- the entity
-
SolidNonRDFSource
Create a non-RDF-bearing Solid Resource.- Parameters:
identifier- the resource identifiercontentType- the content typeentity- the entityheaders- the headers, may benull
-
-
Method Details
-
getMetadata
Get the metadata for this resource.- Specified by:
getMetadatain interfaceSolidResource- Returns:
- the metadata
-