code: public void addResourceHandler(Class<? extends NamedResource> clazz, JavaMailAttachmentResourceHandler handler) {
  		map.put(clazz, handler);
  	}
docs: Register a new attachment resource handler.
  
  @param clazz
  the class of the attachment resource
  @param handler
  the attachment resource handler