public interface Translator
This hook allows applications to support variable expansions like Ant in the configuration file.
Modifier and Type | Field and Description |
---|---|
static Translator |
NOOP
Translator that does nothing. |
static Translator |
SYS_PROP_TR
A translator that does translation from the system properties.
|
Modifier and Type | Method and Description |
---|---|
String |
translate(String str) |
static final Translator NOOP
Translator
that does nothing.static final Translator SYS_PROP_TR
String translate(String str) throws TranslationException
TranslationException
Copyright © 2021. All rights reserved.