public class StringFormatter
extends java.lang.Object
StringFormatter
is used to format the computed FunctionValue
of a function node, when the value is a String.
It allows changing the case of the result String.
Constructor and Description |
---|
StringFormatter(APIUtils.LETTER_CASE letterCase)
Creates an instance with two specified letter case.
|
Modifier and Type | Method and Description |
---|---|
APIUtils.LETTER_CASE |
getLetterCase()
Returns the letter case used to format a value.
|
void |
setLetterCase(APIUtils.LETTER_CASE letterCase)
Sets the letter case used to format a value.
|
public StringFormatter(APIUtils.LETTER_CASE letterCase)
letterCase
- the case we want for the formatted value.public APIUtils.LETTER_CASE getLetterCase()
APIUtils.LETTER_CASE
public void setLetterCase(APIUtils.LETTER_CASE letterCase)
letterCase
- a APIUtils.LETTER_CASE