org.zaval.lw.mask
Class MaskUtil
java.lang.Object
|
+--org.zaval.lw.mask.MaskUtil
- public class MaskUtil
- extends java.lang.Object
This class is set of useful static methods that can be helpful for different mask features
implementation.
Method Summary |
static java.lang.String |
setValueByTag(char tag,
java.lang.String value,
java.lang.String tags,
java.lang.String tagValue)
|
static java.lang.String |
trim(java.lang.String s,
char blank)
Removes the blank character from both ends of this string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaskUtil
public MaskUtil()
trim
public static java.lang.String trim(java.lang.String s,
char blank)
- Removes the blank character from both ends of this string.
- Parameters:
s
- the specified string.blank
- the specified blank character.- Returns:
- a string with blank character removed from the front and end.
setValueByTag
public static java.lang.String setValueByTag(char tag,
java.lang.String value,
java.lang.String tags,
java.lang.String tagValue)
Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org