Class PatternConverter

java.lang.Object
org.csveed.bean.conversion.AbstractConverter<Pattern>
org.csveed.bean.conversion.PatternConverter
All Implemented Interfaces:
Converter<Pattern>

public class PatternConverter extends AbstractConverter<Pattern>
The Class PatternConverter.
  • Constructor Details

    • PatternConverter

      public PatternConverter()
      Instantiates a new pattern converter.
    • PatternConverter

      public PatternConverter(int flags)
      Instantiates a new pattern converter.
      Parameters:
      flags - the flags
  • Method Details

    • fromString

      public Pattern fromString(String text) throws Exception
      Description copied from interface: Converter
      From string.
      Parameters:
      text - the text
      Returns:
      the k
      Throws:
      Exception - the exception
    • toString

      public String toString(Pattern value) throws Exception
      Description copied from interface: Converter
      To string.
      Parameters:
      value - the value
      Returns:
      the string
      Throws:
      Exception - the exception