code: public static <T> T convertToObject(Class<T> clazz, InputStream inputStream) {
  		return convertToObject(clazz, new InputStreamReader(inputStream));
  	}
docs: XML to Object
  
  @param <T>
  T
  @param clazz
  clazz
  @param inputStream
  inputStream
  @return T