|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.krysalis.barcode4j.tools.MessagePatternUtil
public class MessagePatternUtil
Helper class to apply custom message pattern (i.e. message characters grouping) to barcode messages.
Constructor Summary | |
---|---|
MessagePatternUtil()
|
Method Summary | |
---|---|
static java.lang.String |
applyCustomMessagePattern(java.lang.String msg,
java.lang.String pattern)
Defined means to apply custom message pattern (i.e. message characters grouping). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessagePatternUtil()
Method Detail |
---|
public static java.lang.String applyCustomMessagePattern(java.lang.String msg, java.lang.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 applied
|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |