code: public void parse (InputStream input) {
  		try {
  			parse(new InputStreamReader(input, "UTF-8"));
  		} catch (IOException ex) {
  			throw new SerializationException(ex);
  		} finally {
  			StreamUtils.closeQuietly(input);
  		}
  	}
docs: Parses the given input stream.
  @param input the input stream
  @throws SerializationException if the input stream cannot be successfully parsed.