public class ConfigUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
convertStringToObject(Class<?> type,
String value)
Converts string value of the corresponding type to object.
|
public static Object convertStringToObject(Class<?> type, String value) throws InvalidFormatException
InvalidFormatException
- if value has wrong format.Copyright © 2002–2025 Devexperts LLC. All rights reserved.