Class IdAEmailConverter

java.lang.Object
com.io7m.idstore.shell.admin.internal.IdAEmailConverter
All Implemented Interfaces:
com.io7m.quarrel.core.QValueConverterType<IdEmail>

public final class IdAEmailConverter extends Object implements com.io7m.quarrel.core.QValueConverterType<IdEmail>
A value converter for emails.
  • Constructor Details

    • IdAEmailConverter

      public IdAEmailConverter()
      A value converter for emails.
  • Method Details

    • convertFromString

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

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

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

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

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