- java.lang.Object
-
- org.praxislive.code.TypeConverter<T>
-
public abstract class TypeConverter<T> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTypeConverter.Provider
-
Constructor Summary
Constructors Constructor Description TypeConverter()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static <T> TypeConverter<T>find(Class<T> type, Annotation... annotations)abstract TfromArgument(Value value)ValuegetDefaultArgument()TgetDefaultValue()ArgumentInfogetInfo()abstract Class<T>getType()booleanisRealTimeSafe()abstract ValuetoArgument(T value)
-
-
-
Method Detail
-
fromArgument
public abstract T fromArgument(Value value) throws ValueFormatException
- Throws:
ValueFormatException
-
getInfo
public ArgumentInfo getInfo()
-
isRealTimeSafe
public boolean isRealTimeSafe()
-
getDefaultArgument
public Value getDefaultArgument()
-
getDefaultValue
public T getDefaultValue()
-
find
public static final <T> TypeConverter<T> find(Class<T> type, Annotation... annotations)
-
-