public class StringTransform
extends java.lang.Object
Transforms strings according to a pattern. The transformation pattern defines a series of transformations. If the transform pattern is not null, the transformations are applied sequentially to the field string. The transformations are the following:
term
to the end of the transformed
stringterm
from the
transformed stringterm
, and concatenate them together, separating by a spaceConstructor and Description |
---|
StringTransform(java.lang.String pattern)
Create a new StringTransform with the specified pattern.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
applyTransform(java.lang.String value)
Applies the String transformations to the field value.
|