code: public void setData(final InputStream in) throws IOException {
  		final byte[] bytes = JKIOUtil.readStream(in);
  		setData(bytes);
  	}
docs: Sets the data.
  
  @param in the new data
  @throws IOException Signals that an I/O exception has occurred.