public final class ClassModelHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
formatMessageId(int messageId)
Formats message id.
|
static String |
implementationClassName(MessageInterface messageInterface)
Creates the implementation class name for the message interface.
|
static String |
implementationClassName(MessageInterface messageInterface,
String translationSuffix)
Creates the implementation class name for the message interface.
|
public static String formatMessageId(int messageId)
messageId
- the message id to format.public static String implementationClassName(MessageInterface messageInterface) throws IllegalArgumentException
messageInterface
- the message interface to generate the implementation name for.IllegalArgumentException
- if the message interface is not a message bundle or a message logger.public static String implementationClassName(MessageInterface messageInterface, String translationSuffix) throws IllegalArgumentException
messageInterface
- the message interface to generate the implementation name for.translationSuffix
- the local suffix for the translation.IllegalArgumentException
- if the message interface is not a message bundle or a message logger.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.