Class DefaultValueConverter.CaseInsensitiveRegexConverter

java.lang.Object
net.jazdw.rql.converter.DefaultValueConverter.CaseInsensitiveRegexConverter
All Implemented Interfaces:
ValueConverter<Pattern>
Enclosing class:
DefaultValueConverter

public static class DefaultValueConverter.CaseInsensitiveRegexConverter extends Object implements ValueConverter<Pattern>
Converts a string to a case-insensitive regex Pattern
  • Field Details

  • Constructor Details

    • CaseInsensitiveRegexConverter

      public CaseInsensitiveRegexConverter()
  • Method Details

    • convert

      public Pattern convert(String textValue)
      Description copied from interface: ValueConverter
      Converts a string value to its Java representation
      Specified by:
      convert in interface ValueConverter<Pattern>
      Parameters:
      textValue - percent-decoded value string (e.g. john, 2015-01-01 or 30)
      Returns:
      converted value