Package net.jazdw.rql.converter
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final DefaultValueConverter.CaseInsensitiveRegexConverter -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.jazdw.rql.converter.ValueConverter
convert
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CaseInsensitiveRegexConverter
public CaseInsensitiveRegexConverter()
-
-
Method Details
-
convert
Description copied from interface:ValueConverterConverts a string value to its Java representation- Specified by:
convertin interfaceValueConverter<Pattern>- Parameters:
textValue- percent-decoded value string (e.g.john,2015-01-01or30)- Returns:
- converted value
-