Package com.io7m.cardant.shell.internal

# 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 Summary

  Constructors
  Constructor
  Description
  `CAPatternConverter()`
  Construct a converter.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Class<Pattern>`
  `convertedClass()`
  `Pattern`
  `convertFromString(String text)`
  `String`
  `convertToString(Pattern value)`
  `Pattern`
  `exampleValue()`
  `String`
  `syntax()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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>`