public class Themes extends Object
| Constructor and Description | 
|---|
Themes(org.thymeleaf.context.IExpressionContext context)
Constructor, obtains the current theme and locale from the processing
 context for code lookups later. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
code(String code)
Looks up and returns the value of the given key in the properties file of
 the currently-selected theme. 
 | 
public Themes(org.thymeleaf.context.IExpressionContext context)
context - the processing context being usedpublic String code(String code)
code - Key to look up in the theme properties file.Copyright © 2017 The THYMELEAF team. All rights reserved.