public class CommandProcessorUtil
extends java.lang.Object
| Constructor and Description |
|---|
CommandProcessorUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
canCreateParameterValue(java.lang.String parameterType)
Checks if the given type is primitive of can be initialized from String.
This is done by trying to load the class and checking if there is a public String only constructor. |
static java.util.Comparator |
createClassComparator() |
static java.util.Comparator |
createConstructorComparator() |
static java.util.Comparator |
createObjectInstanceComparator() |
static java.util.Comparator |
createObjectNameComparator() |
protected static java.lang.Object |
createParameterValue(java.lang.String parameterType,
java.lang.String parameterValue)
Creates a parameter object of the given type containing a given value.
|
protected static java.lang.Object createParameterValue(java.lang.String parameterType,
java.lang.String parameterValue)
throws java.lang.Exception
parameterType - Indicates the type of the parameter, for instance java.lang.StringparameterValue - The value of the parameter as a StringThrown - in case there is a data conversion errorjava.lang.Exceptionprotected static boolean canCreateParameterValue(java.lang.String parameterType)
parameterType - Indicates the type of the parameter, for instance java.lang.StringThrown - in case there is a data conversion errorpublic static java.util.Comparator createObjectNameComparator()
public static java.util.Comparator createObjectInstanceComparator()
public static java.util.Comparator createConstructorComparator()
public static java.util.Comparator createClassComparator()