| java.lang.Object com.ivata.mask.web.format.CaseFormat
CaseFormat | public class CaseFormat implements HTMLFormat(Code) | | Convert a string to upper or lower case.
since: ivata masks 0.6 (2005-03-15) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.3 $ |
Method Summary | |
public String | format(String textParam) Converts the given text to either upper or lower (default) case,
depending on the setting of
CaseFormat.isLower lower .
Parameters: textParam - text to be converted. | public boolean | isLower() If true , then format will convert to lower
case. | public void | setLower(boolean lowerParam) |
format | public String format(String textParam)(Code) | | Converts the given text to either upper or lower (default) case,
depending on the setting of
CaseFormat.isLower lower .
Parameters: textParam - text to be converted. text with all characters converted to either upper or lower case. |
isLower | public boolean isLower()(Code) | | If true , then format will convert to lower
case.
Returns true , if format should convertto lower case, otherwise false . |
|
|