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.Exchange exchange)
Extract the subject URI from the incoming exchange.
|
static String |
insertData(String serializedGraph,
String namedGraph)
Create an INSERT DATA { ...
|
static List<String> |
tokenizePropertyPlaceholder(org.apache.camel.CamelContext context,
String property,
String token)
Tokenize a property placeholder value
|
public static String getSubjectUri(org.apache.camel.Exchange exchange) throws org.apache.camel.NoSuchHeaderException
exchange - the incoming Exchangeorg.apache.camel.NoSuchHeaderException - when the CamelFcrepoBaseUrl header is not 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 graphpublic static List<String> tokenizePropertyPlaceholder(org.apache.camel.CamelContext context, String property, String token)
context - the camel contextproperty - the name of the property placeholdertoken - the token used for splitting the valueCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.