public class TranslateBundleFunction extends Object implements TemplateFunction
| Constructor and Description |
|---|
TranslateBundleFunction(String bundle,
Locale locale)
Constructor for a Mustache.java translation function.
|
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String input)
Return translation from the localized ResourceBundle.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, compose, identitypublic String apply(String input)
apply in interface java.util.function.Function<String,String>Copyright © 2016. All Rights Reserved.