Class QVCLong

java.lang.Object
com.io7m.quarrel.core.converters.QVCAbstract<Long>
com.io7m.quarrel.core.converters.QVCLong
All Implemented Interfaces:
QValueConverterType<Long>

public final class QVCLong extends QVCAbstract<Long>
A value converter.
  • Method Details

    • get

      public static QValueConverterType<Long> get()
      Returns:
      A value converter.
    • parse

      protected Long parse(String text) throws Exception
      Specified by:
      parse in class QVCAbstract<Long>
      Throws:
      Exception
    • convertToString

      public String convertToString(Long value)
      Description copied from interface: QValueConverterType
      Convert a value of T to a string.
      Parameters:
      value - The value
      Returns:
      A string
    • exampleValue

      public Long exampleValue()
      Returns:
      An example value used for documentation
    • syntax

      public String syntax()
      Returns:
      A description of the syntax for valid values of T
    • convertedClass

      public Class<Long> convertedClass()
      Returns:
      The type that will be converted