|
JBoss Logging I18n Annotation Processor 1.0.3.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.logging.processor.util.TranslationHelper
public final class TranslationHelper
Utility class to work with translation filename.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getTranslationClassNameSuffix(String translationFileName)
translationFileName
- the translation file name
NullPointerException
- if translationFileName is null or not validpublic static String getEnclosingTranslationFileName(File translationFile)
translationFile
- the translation file
IllegalArgumentException
- if translationFileName is nullpublic static String getEnclosingTranslationClassName(String translationClassName)
translationClassName
- the translation class name
NullPointerException
- if translationClassName is null
|
JBoss Logging I18n Annotation Processor 1.0.3.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |