code: public void addAttachment(final String name, final DataSource filedata) {
  		attachments.add(new AttachmentResource(name, filedata));
  	}
docs: Overloaded method which sets an attachment on account of name and {@link DataSource}.
  
  @param name The name of the attachment (eg. 'filename.ext').
  @param filedata The attachment data.