Class RdfHttpResourceFileImpl
java.lang.Object
org.aksw.jena_sparql_api.http.repository.impl.RdfHttpResourceFileImpl
- All Implemented Interfaces:
RdfHttpResourceFile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocate(org.apache.jena.rdf.model.Resource description) Get or create an entity that matches the given description.The relative path that backs this http resourceReturn a http entity with a certain path relative to {RdfHttpResourceFile.getRelativePath().Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jena_sparql_api.http.repository.api.RdfHttpResourceFile
getAbsolutePath
-
Field Details
-
manager
-
path
-
-
Constructor Details
-
RdfHttpResourceFileImpl
-
-
Method Details
-
getEntities
- Specified by:
getEntitiesin interfaceRdfHttpResourceFile
-
getRelativePath
Description copied from interface:RdfHttpResourceFileThe relative path that backs this http resource- Specified by:
getRelativePathin interfaceRdfHttpResourceFile
-
getResourceStore
- Specified by:
getResourceStorein interfaceRdfHttpResourceFile
-
allocate
Description copied from interface:RdfHttpResourceFileGet or create an entity that matches the given description. This is typically done based on an RDF description corresponding to HTTP accept headers: accept, accept-encoding, accept-charset, accept-language. However, the design intentionally allows for custom resolution mechanisms. TODO Add the RFC number(s) the resolution mechanism should adhere to- Specified by:
allocatein interfaceRdfHttpResourceFile- Returns:
-
resolve
Description copied from interface:RdfHttpResourceFileReturn a http entity with a certain path relative to {RdfHttpResourceFile.getRelativePath(). TODO Clarify whether the path must not resolve to a ancestor folder of this entity's path- Specified by:
resolvein interfaceRdfHttpResourceFile
-