mx4j.adaptor.http
Class CommandProcessorUtil

java.lang.Object
  |
  +--mx4j.adaptor.http.CommandProcessorUtil

public class CommandProcessorUtil
extends java.lang.Object

Contains utilities common to CommandProcessor objects

Version:
$Revision: 1.3 $
Author:
Carlos Quiroz

Constructor Summary
CommandProcessorUtil()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandProcessorUtil

public CommandProcessorUtil()
Method Detail

createParameterValue

protected static java.lang.Object createParameterValue(java.lang.String parameterType,
                                                       java.lang.String parameterValue)
                                                throws java.lang.Exception
Creates a parameter object of the given type containing a given value. If the type is unknown null is returned
Parameters:
parameterType - Indicates the type of the parameter, for instance java.lang.String
parameterValue - The value of the parameter as a String
Returns:
an object of parameterType type and value parameterValue or null if the type is unknown
Throws:
Thrown - in case there is a data conversion error