public final class TranslationHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getEnclosingTranslationClassName(String translationClassName)
Returns the enclosing translation class name for
the given translation class name.
|
static String |
getEnclosingTranslationFileName(File translationFile)
Returns the enclosing translation file name for the given
translation file name.
|
static String |
getTranslationClassNameSuffix(String translationFileName)
Get the class name suffix to be added to the
generated class for the given translation file name.
|
public static String getTranslationClassNameSuffix(String translationFileName)
translationFileName
- the translation file nameIllegalArgumentException
- if translationFileName is null or not validpublic static String getEnclosingTranslationFileName(File translationFile)
translationFile
- the translation fileIllegalArgumentException
- if translationFileName is nullpublic static String getEnclosingTranslationClassName(String translationClassName)
translationClassName
- the translation class nameIllegalArgumentException
- if translationClassName is nullCopyright © 2017 JBoss by Red Hat. All rights reserved.