Class FirstToUpperCase
java.lang.Object
com.aquima.interactions.framework.mask.impl.AbstractMask
com.aquima.interactions.framework.mask.impl.AbstractSubstringMask
com.aquima.interactions.framework.mask.impl.FirstToUpperCase
- All Implemented Interfaces:
IMask
This mask converts the first character of a string to upper case and the rest of the string to lowercase.
Example: StringValue("a VaLUe") -> A value
- Since:
- 6.0
- Author:
- Jon van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
applyStringValue
(StringValue stringValue, IMaskContext context) Methods inherited from class com.aquima.interactions.framework.mask.impl.AbstractSubstringMask
applySingleValue, getValidDataTypes
Methods inherited from class com.aquima.interactions.framework.mask.impl.AbstractMask
apply
-
Constructor Details
-
FirstToUpperCase
public FirstToUpperCase()
-
-
Method Details
-
applyStringValue
- Specified by:
applyStringValue
in classAbstractSubstringMask
- Throws:
Exception
-