jaxx.compiler.types
Class TypeManager
java.lang.Object
jaxx.compiler.types.TypeManager
public class TypeManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getConverters
public static Map<Class<?>,TypeConverter> getConverters()
- Returns:
- dictionnary of known converters
getTypeConverter
public static TypeConverter getTypeConverter(Class<?> type)
getJavaCode
public static String getJavaCode(Object object)
convertFromString
public static Object convertFromString(String string,
Class<?> type)
convertVariableNameToConstantName
public static String convertVariableNameToConstantName(String variableName)
- Convertit un nom de variable en nom de constante.
- Parameters:
variableName - le nom de variable a convertir
- Returns:
- le nom de la constante à partir du nom de la variable
Copyright © 2008-2012 CodeLutin. All Rights Reserved.