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