Interface MessageRenderer<T>
- All Known Implementing Classes:
- MapMessageRenderer
public interface MessageRenderer<T>
- 
Method SummaryModifier and TypeMethodDescriptiongetValueFromFile(String filename, String encoding, boolean hasVariable, com.github.benmanes.caffeine.cache.Cache<Object, Object> cache) Read text from file, eventually replace variables, then convert it.getValueFromText(String text) Convert text to expected type
- 
Method Details- 
getValueFromTextConvert text to expected type- Parameters:
- text- Text representing the type
- Returns:
- the constructed object
 
- 
getValueFromFileT getValueFromFile(String filename, String encoding, boolean hasVariable, com.github.benmanes.caffeine.cache.Cache<Object, Object> cache) Read text from file, eventually replace variables, then convert it. Cached content depends if variabilisation is active or not.- Parameters:
- filename- name of the file to get the value from
- encoding- encoding of the file
- hasVariable- flag, whether variables inside the value should be replaced
- cache- Cache in which the raw values will be stored/read from
- Returns:
- the constructed object
 
 
-