Class CAPatternConverter

java.lang.Object
com.io7m.cardant.shell.internal.CAPatternConverter
All Implemented Interfaces:
com.io7m.quarrel.core.QValueConverterType<Pattern>

public final class CAPatternConverter extends Object implements com.io7m.quarrel.core.QValueConverterType<Pattern>
A value converter for patterns.
  • Constructor Details

    • CAPatternConverter

      public CAPatternConverter()
      Construct a converter.
  • Method Details

    • convertFromString

      public Pattern convertFromString(String text)
      Specified by:
      convertFromString in interface com.io7m.quarrel.core.QValueConverterType<Pattern>
    • convertToString

      public String convertToString(Pattern value)
      Specified by:
      convertToString in interface com.io7m.quarrel.core.QValueConverterType<Pattern>
    • exampleValue

      public Pattern exampleValue()
      Specified by:
      exampleValue in interface com.io7m.quarrel.core.QValueConverterType<Pattern>
    • syntax

      public String syntax()
      Specified by:
      syntax in interface com.io7m.quarrel.core.QValueConverterType<Pattern>
    • convertedClass

      public Class<Pattern> convertedClass()
      Specified by:
      convertedClass in interface com.io7m.quarrel.core.QValueConverterType<Pattern>