|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DiscobitsHandler
Provides utility methods to create, retrieve and remove binary contents. Binary contents are modeled as InfoDiscoBit from the discobit ontology at http://discobits.org/ontology
| Method Summary | |
|---|---|
byte[] |
getData(org.apache.clerezza.rdf.core.UriRef uriRef)
|
javax.ws.rs.core.MediaType |
getMediaType(org.apache.clerezza.rdf.core.UriRef uriRef)
|
void |
put(org.apache.clerezza.rdf.core.UriRef infoDiscoBitUri,
javax.ws.rs.core.MediaType mediaType,
byte[] data)
Creates an InfoDiscoBit |
void |
remove(org.apache.clerezza.rdf.core.NonLiteral node)
Removes InfoDiscoBits (aka binary contents), other DiscoBits and the context of the specified node. |
| Method Detail |
|---|
void put(org.apache.clerezza.rdf.core.UriRef infoDiscoBitUri,
javax.ws.rs.core.MediaType mediaType,
byte[] data)
infoDiscoBitUri - mediaType - data - void remove(org.apache.clerezza.rdf.core.NonLiteral node)
node - javax.ws.rs.core.MediaType getMediaType(org.apache.clerezza.rdf.core.UriRef uriRef)
uriRef -
byte[] getData(org.apache.clerezza.rdf.core.UriRef uriRef)
uriRef -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||