public class MessagePatternUtil extends Object
| Constructor and Description |
|---|
MessagePatternUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
applyCustomMessagePattern(String msg,
String pattern)
Defined means to apply custom message pattern (i.e.
|
public static String applyCustomMessagePattern(String msg, String pattern)
Example: "\_patterned\_:__/__/____" (Any '_' is placeholder for the next message symbol, all other pattern symbols will be inserted between. The '\' is escape char. If the patterned message is too long you can increase the quite zone length to make it visible)
msg - the original messagepattern - the message pattern to be appliedCopyright © 2003–2023. All rights reserved.