Class ClassRioSetting<T>

    • Constructor Detail

      • ClassRioSetting

        public ClassRioSetting​(String key,
                               String description,
                               T defaultValue)
    • Method Detail

      • convert

        public T convert​(String stringValue)
        Description copied from interface: RioSetting
        Attempts to convert from a string to a type-safe representation based on the generic type of this setting.
        Parameters:
        stringValue - a string representation of a value for this setting.
        Returns:
        The corresponding object of type T for the supplied string value.