Class QVCAbstract<T>
java.lang.Object
com.io7m.quarrel.core.converters.QVCAbstract<T>
- Type Parameters:
T- The type
- All Implemented Interfaces:
QValueConverterType<T>
- Direct Known Subclasses:
QVCBigDecimal, QVCBigInteger, QVCBoolean, QVCDouble, QVCDuration, QVCFloat, QVCInetAddress, QVCInteger, QVCLong, QVCOffsetDateTime, QVCPath, QVCPattern, QVCString, QVCURI, QVCUUID
An abstract value converter.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface QValueConverterType
convertedClass, convertToString, exampleValue, syntax
-
Constructor Details
-
QVCAbstract
protected QVCAbstract()
-
-
Method Details
-
convertFromString
Description copied from interface:QValueConverterTypeConvert the given string to a value of typeT.- Specified by:
convertFromStringin interfaceQValueConverterType<T>- Parameters:
text- The input string- Returns:
- A value of
T - Throws:
QException- On errors
-
parse
-