类的使用
cn.taketoday.core.Constants.ConstantException
-
cn.taketoday.core中Constants.ConstantException的使用
修饰符和类型方法说明Return a constant value cast to a Number.Parse the given String (upper or lower case accepted) and return the appropriate value if it's the name of a constant field in the class that we're analysing.Return a constant value as a String.Look up the given value within the given group of constants.Constants.toCodeForProperty(Object value, String propertyName) Look up the given value within the group of constants for the given bean property name.Constants.toCodeForSuffix(Object value, String nameSuffix) Look up the given value within the given group of constants.