1 18 19 package cowsultants.itracker.ejb.client.util; 20 21 import java.util.*; 22 23 public class IssueAttachmentUtilities { 24 public static final String DEFAULT_ATTACHMENT_DIR = "./itracker/attachments"; 25 26 public IssueAttachmentUtilities() { 27 } 28 29 } 30 31 class MimeType { 32 private String mimeType; 33 private HashSet suffixes; 34 private String imageName; 35 36 public MimeType(String mimeType, String imageName) { 37 setMimeType(mimeType); 38 setImageName(imageName); 39 } 40 41 public String getMimeType() { 42 return mimeType; 43 } 44 45 public void setMimeType(String value) { 46 mimeType = value; 47 } 48 49 public String imageName() { 50 return imageName; 51 } 52 53 public void setImageName(String value) { 54 imageName = value; 55 } 56 } 57 58 | Popular Tags |