Package com.io7m.quarrel.core.converters
Class QVCInetAddress
java.lang.Object
com.io7m.quarrel.core.converters.QVCAbstract<InetAddress>
com.io7m.quarrel.core.converters.QVCInetAddress
- All Implemented Interfaces:
QValueConverterType<InetAddress>
A value converter.
-
Method Summary
Modifier and TypeMethodDescriptionconvertToString
(InetAddress value) Convert a value ofT
to a string.static QValueConverterType
<InetAddress> get()
protected InetAddress
syntax()
Methods inherited from class com.io7m.quarrel.core.converters.QVCAbstract
convertFromString
-
Method Details
-
get
- Returns:
- A value converter.
-
parse
- Specified by:
parse
in classQVCAbstract<InetAddress>
- Throws:
UnknownHostException
-
convertToString
Description copied from interface:QValueConverterType
Convert a value ofT
to a string.- Parameters:
value
- The value- Returns:
- A string
-
exampleValue
- Returns:
- An example value used for documentation
-
syntax
- Returns:
- A description of the syntax for valid values of
T
-
convertedClass
- Returns:
- The type that will be converted
-