public final class TranslationHelper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
TRANSLATION_FILE_NAME_EXTENSION |
| Modifier | Constructor and Description |
|---|---|
private |
TranslationHelper()
Private constructor to
disable instantiation.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getEnclosingTranslationClassName(java.lang.String translationClassName)
Returns the enclosing translation class name for
the given translation class name.
|
static java.lang.String |
getEnclosingTranslationFileName(java.io.File translationFile)
Returns the enclosing translation file name for the given
translation file name.
|
static java.lang.String |
getTranslationClassNameSuffix(java.lang.String translationFileName)
Get the class name suffix to be added to the
generated class for the given translation file name.
|
private static final java.lang.String TRANSLATION_FILE_NAME_EXTENSION
private TranslationHelper()
public static java.lang.String getTranslationClassNameSuffix(java.lang.String translationFileName)
translationFileName - the translation file namejava.lang.IllegalArgumentException - if translationFileName is null or not validpublic static java.lang.String getEnclosingTranslationFileName(java.io.File translationFile)
translationFile - the translation filejava.lang.IllegalArgumentException - if translationFileName is nullpublic static java.lang.String getEnclosingTranslationClassName(java.lang.String translationClassName)
translationClassName - the translation class namejava.lang.IllegalArgumentException - if translationClassName is null