code: public static Report loadConvertedReport(InputStream is) {
  		XStream xstream = XStreamFactory.createXStream();
  		InputStreamReader reader = null;
  		try {
  			reader = new InputStreamReader(is, "UTF-8");
  			return (Report) xstream.fromXML(reader);
  		} catch (Exception e) {
  			LOG.error(e.getMessage(), e);
  			e.printStackTrace();
  			return null;
  		}
  	}
docs: Create a report object from an input stream
  
  Use this method if you know your report version does not need any
  conversion from older versions, otherwise see
  {@link #loadReport(InputStream)}
  
  @param is
  input stream
  @return the report object created from the input stream or null if cannot
  be read