# Class QVCInteger

java.lang.Object
com.io7m.quarrel.core.converters.QVCAbstract<Integer>
com.io7m.quarrel.core.converters.QVCInteger

All Implemented Interfaces:
  `QValueConverterType<Integer>`

public final class QVCInteger extends QVCAbstract<Integer>
A value converter.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Class<Integer>`
  `convertedClass()`
  `String`
  `convertToString(Integer value)`
  Convert a value of `T` to a string.
  `Integer`
  `exampleValue()`
  `static QValueConverterType<Integer>`
  `get()`
  `protected Integer`
  `parse(String text)`
  `String`
  `syntax()`

  ### Methods inherited from class com.io7m.quarrel.core.converters.QVCAbstract

  `convertFromString`

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

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

- ## Method Details

  - ### get

    public static QValueConverterType<Integer> get()
    Returns:
      A value converter.

  - ### parse

    protected Integer parse(String text) throws Exception
    Specified by:
      `parse` in class `QVCAbstract<Integer>`
    Throws:
      `Exception`

  - ### convertToString

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

  - ### exampleValue

    public Integer 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<Integer> convertedClass()
    Returns:
      The type that will be converted