java.lang.Object
org.apache.jena.fuseki.mgt.TemplateFunctions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.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.static String
templateString
(String template, Map<String, String> params, org.apache.jena.riot.Lang lang) Create a template from a String
-
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
-