org.summerb.stringtemplate.api.StringTemplate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of summerb-stringtemplate Show documentation
Show all versions of summerb-stringtemplate Show documentation
A library for working with string templates
package org.summerb.stringtemplate.api;
import org.summerb.stringtemplate.impl.StringTemplateStaticImpl;
/**
* Interface for evaluating string template and getting "rendered" result.
*
* Instance of this interface must be thread-safe, because it might be cached
* and used concurrently in several threads
*
* @author skarpushin
*
* @see StringTemplateStaticImpl
* @see StringTemplateCompiler
*/
public interface StringTemplate {
String applyTo(Object rootObject);
}