Class ConfigTemplate

java.lang.Object
org.eclipse.rdf4j.repository.config.ConfigTemplate

public class ConfigTemplate extends Object
Author:
Arjohn Kampman
  • Constructor Details

    • ConfigTemplate

      public ConfigTemplate(String template)
  • Method Details

    • getTemplate

      public String getTemplate()
    • setTemplate

      public final void setTemplate(String template)
    • getVariableMap

      public Map<String,List<String>> getVariableMap()
    • render

      public String render(Map<String,String> valueMap)
    • escapeMultilineQuotes

      protected static String escapeMultilineQuotes(String quoteVariant, String value)
      Escape Turtle multiline literal quote characters in the given value.
      Parameters:
      quoteVariant - either ''' or """
      value - the value to escape properly
      Returns:
      the value with any needed multiline quote sequences escaped
    • getMultilineMap

      public Map<String,String> getMultilineMap()