Class TemplateFunctions

java.lang.Object
org.apache.jena.fuseki.mgt.TemplateFunctions

public class TemplateFunctions extends Object
  • Constructor Details

    • TemplateFunctions

      public TemplateFunctions()
  • Method Details

    • templateFile

      public static String templateFile(Path directory, String templateName, Map<String,String> params, org.apache.jena.riot.Lang lang)
      Read in a template from a file, substitute for {NAME} and return the string.
    • templateResource

      public static String templateResource(String resourceName, Map<String,String> params, org.apache.jena.riot.Lang lang)
      Read a template file, substitute for {NAME} and return the model.
    • templateString

      public static String templateString(String template, Map<String,String> params, org.apache.jena.riot.Lang lang)
      Create a template from a String