1 32 33 package scioworks.imap.business.beans; 34 35 import scioworks.imap.spec.beans.FileRecord; 36 37 public class FileRecordImpl extends PublicObject implements FileRecord { 38 39 String tmpFilename; 40 String filename; 41 int size; 42 String contentType; 43 44 public FileRecordImpl(String tmpFilename, String filename, int size, 45 String contentType) { 46 super(); 47 48 this.tmpFilename = tmpFilename; 49 this.filename = filename; 50 this.size = size; 51 this.contentType = contentType; 52 } 53 54 public String getTmpFilename() { 55 return tmpFilename; 56 } 57 58 public String getFilename() { 59 return filename; 60 } 61 62 public int getSize() { 63 return size; 64 } 65 66 public String getContentType() { 67 return contentType; 68 } 69 70 public String toString() { 71 return tmpFilename + ";" + filename + ";" + size + ";" + contentType + "|"; 72 } 73 } | Popular Tags |