1 17 18 package org.sape.carbon.services.email.util; 19 20 21 import java.net.URL ; 22 23 31 public class MailAttachment { 32 33 36 private String name; 37 38 39 42 private String description; 43 44 45 49 private String path; 50 51 52 57 private URL url; 58 59 60 68 public MailAttachment(String name, String description, 69 String path) { 70 this.name = name; 71 this.description = description; 72 this.path = path; 73 } 74 75 76 84 public MailAttachment(String name, String description, 85 URL url) { 86 this.name = name; 87 this.description = description; 88 this.url = url; 89 } 90 91 92 97 public String getName() { 98 return name; 99 } 100 101 102 107 public String getDescription() { 108 return description; 109 } 110 111 112 117 public String getPath() { 118 return path; 119 } 120 121 122 127 public URL getURL() { 128 return url; 129 } 130 } 131 | Popular Tags |