Class ConfigurationValueUtils


  • public class ConfigurationValueUtils
    extends Object
    • Constructor Detail

      • ConfigurationValueUtils

        public ConfigurationValueUtils()
    • Method Detail

      • convertDataType

        public static <T> T convertDataType​(String key,
                                            T value,
                                            ConfigurationValueConverter<T> converter)
        Call the convert method with the argument key in the current scope so that it can be used in an error message
        Parameters:
        key - The name of the argument
        value - The argument value
        converter - The converter method
        Returns: