Class TypeConverters.PatternConverter

    • Constructor Detail

      • PatternConverter

        public PatternConverter()
    • Method Detail

      • convert

        public Pattern convert​(String s)
        Description copied from interface: TypeConverter
        Converts a String to a given type.
        Specified by:
        convert in interface TypeConverter<Pattern>
        Parameters:
        s - the String to convert. Cannot be null.
        Returns:
        the converted object.