public class ParseFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
parse(Class<T> type,
String string)
Parses the contents of a string into the specified type.
|
public static <T> T parse(Class<T> type, String string)
T - the target typetype - the target typestring - the string to be parsedUnsupportedOperationException - if the requested target type is not supportedCopyright © 2023. All rights reserved.