public abstract class TypeStringify
extends java.lang.Object
Constructor and Description |
---|
TypeStringify() |
Modifier and Type | Method and Description |
---|---|
static TypeStringify |
getInferred(java.lang.Class<?> type) |
static TypeStringify |
getInstance(java.lang.Class<?> configInterface,
java.lang.reflect.Method method)
Get a TypeStringify instance appropriate for the parameter type of the
specified configuration interface method.
|
abstract java.lang.String |
stringify(java.lang.Object value)
Convert an instance of the configuration type into a string.
|
public abstract java.lang.String stringify(java.lang.Object value)
value
- The configuration value.public static TypeStringify getInstance(java.lang.Class<?> configInterface, java.lang.reflect.Method method)
configInterface
- The configuration interface.method
- The method.java.lang.IllegalArgumentException
- If the type is not supported.public static TypeStringify getInferred(java.lang.Class<?> type)