Class ConverterUUID

    • Field Detail

      • UUID_REGEX_PATTERN

        private static final java.lang.String UUID_REGEX_PATTERN
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConverterUUID

        public ConverterUUID​(java.util.Locale errorLocale)
        Initializes the class.
        Parameters:
        errorLocale - The locale to use for error messages
    • Method Detail

      • convertToRead

        public java.lang.Object convertToRead​(java.lang.String value)
                                       throws CsvDataTypeMismatchException
        Description copied from interface: CsvConverter
        Method for converting from a string to the proper data type of the destination field.
        Parameters:
        value - The string from the selected field of the CSV file. If the field is marked as required in the annotation, this value is guaranteed not to be null, empty or blank according to StringUtils.isBlank(java.lang.CharSequence)
        Returns:
        An Object representing the input data converted into the proper type
        Throws:
        CsvDataTypeMismatchException - If the input string cannot be converted into the proper type