| Package | Description |
|---|---|
| pl.jalokim.utils.template |
| Modifier and Type | Method and Description |
|---|---|
static TemplateAsText |
TemplateAsText.fromClassPath(String resourcePath)
Load text with placeholders from classpath.
|
static TemplateAsText |
TemplateAsText.fromClassPath(String resourcePath,
boolean throwExceptionForNotResolved)
Load text with placeholders from classpath and set flag for throwExceptionForNotResolved.
|
static TemplateAsText |
TemplateAsText.fromFile(String filePath)
Load text with placeholders from file from certain file path.
|
static TemplateAsText |
TemplateAsText.fromFile(String filePath,
boolean throwExceptionForNotResolved)
Load text with placeholders from file from certain file path and set flag for throwExceptionForNotResolved.
|
static TemplateAsText |
TemplateAsText.fromText(String templateText)
Load text with placeholders from simple String object.
|
static TemplateAsText |
TemplateAsText.fromText(String templateText,
boolean throwExceptionForNotResolved)
* Load text with placeholders from simple String object and set flag for throwExceptionForNotResolved.
|
Copyright © 2020. All rights reserved.