Package com.storedobject.core
Class TemplateString<T>
java.lang.Object
com.storedobject.core.TemplateString<T>
- Type Parameters:
T
- Type of object to apply on the template.
- Direct Known Subclasses:
TemplateText
Template string that can be evaluated. Values are defined using variable names: ${name}. If you want to use
$ symbol as a literal (escaping), use $$.
- Author:
- Syam
-
Constructor Summary
ConstructorsConstructorDescriptionTemplateString
(Class<T> objectClass, Device device, String template) Constructor.TemplateString
(Class<T> objectClass, String template) Constructor. -
Method Summary
-
Constructor Details
-
TemplateString
-
TemplateString
-
-
Method Details
-
setDevice
Set the device to be used while evaluating the template.- Parameters:
device
- Device on which the template to be applied.
-
apply
-