code: public static Object createValue(String str, Object obj) throws ParseException
      {
          return createValue(str, (Class<?>) obj);
      }
docs: Returns the <code>Object</code> of type <code>obj</code>
  with the value of <code>str</code>.
  
  @param str the command line value
  @param obj the type of argument
  @return The instance of <code>obj</code> initialised with
  the value of <code>str</code>.
  @throws ParseException if the value creation for the given object type failed