com.sap.tc.logging
Class MsgType
java.lang.Object
|
+--com.sap.tc.logging.MsgType
- public class MsgType
- extends java.lang.Object
Collects constants for internal use as message format types as well as some
static utility methods.
|
Field Summary |
static int |
JAVA
Message type of messages in java.text.MessageFormat format. |
static int |
PLAIN
Message type of messages in plain text format. |
|
Method Summary |
static int |
parse(java.lang.String name)
Gets the message type of the symbolic constant with the specified name. |
static java.lang.String |
toString(int msgType)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLAIN
public static final int PLAIN
- Message type of messages in plain text format.
JAVA
public static final int JAVA
- Message type of messages in
java.text.MessageFormat format.
MsgType
public MsgType()
toString
public static java.lang.String toString(int msgType)
parse
public static int parse(java.lang.String name)
- Gets the message type of the symbolic constant with the specified name.
- Parameters:
name - Name of symbolic message type constant. Case INSENSITIVE.- Throws:
java.lang.IllegalArgumentException - Specified name is not a symbolic message
type constant