java.lang.Object
org.apache.jena.fuseki.mgt.TemplateFunctions
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic StringtemplateFile(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 StringtemplateResource(String resourceName, Map<String, String> params, org.apache.jena.riot.Lang lang) Read a template file, substitute for {NAME} and return the model.static StringtemplateString(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 
 -