public final class ProcessorUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
deleteWhere(String subject,
String namedGraph)
Create a DELETE WHERE { ...
|
static String |
getSubjectUri(org.apache.camel.Message in)
Extract the subject URI from the incoming message headers.
|
static String |
insertData(String serializedGraph,
String namedGraph)
Create an INSERT DATA { ...
|
static String |
langFromMimeType(String contentType)
Extract a language string suitable for Jena from a MimeType value
|
public static String langFromMimeType(String contentType)
contentType - a MIMEType stringpublic static String getSubjectUri(org.apache.camel.Message in) throws IOException
in - the incoming MessageIOException - when no baseURL header is presentpublic static String deleteWhere(String subject, String namedGraph)
subject - the subject of the triples to delete.namedGraph - an optional named graphpublic static String insertData(String serializedGraph, String namedGraph)
serializedGraph - the triples to insertnamedGraph - an optional named graphCopyright © 2013-2016 DuraSpace, Inc.. All Rights Reserved.