T - the type to transform to.public interface Transformer<T>
ParameterType with zero or one capture groups.| Modifier and Type | Method and Description |
|---|---|
T |
transform(String arg)
Transforms a string into to an object.
|
T transform(String arg) throws Throwable
If the capture group is optional arg may be null.
arg - the value of the single capture groupThrowable - if transformation failedCopyright © 2019. All rights reserved.