1 21 22 27 28 package javax.mail.internet; 29 30 import javax.mail.*; 31 import java.io.*; 32 import java.util.Enumeration ; 33 34 60 61 public interface MimePart extends Part { 62 63 75 public String getHeader(String name, String delimiter) 76 throws MessagingException; 77 78 85 public void addHeaderLine(String line) throws MessagingException; 86 87 92 public Enumeration getAllHeaderLines() throws MessagingException; 93 94 99 public Enumeration getMatchingHeaderLines(String [] names) 100 throws MessagingException; 101 102 107 public Enumeration getNonMatchingHeaderLines(String [] names) 108 throws MessagingException; 109 110 116 public String getEncoding() throws MessagingException; 117 118 123 public String getContentID() throws MessagingException; 124 125 131 public String getContentMD5() throws MessagingException; 132 133 142 public void setContentMD5(String md5) throws MessagingException; 143 144 150 public String [] getContentLanguage() throws MessagingException; 151 152 162 public void setContentLanguage(String [] languages) 163 throws MessagingException; 164 165 184 public void setText(String text) throws MessagingException; 185 186 197 public void setText(String text, String charset) 198 throws MessagingException; 199 200 213 public void setText(String text, String charset, String subtype) 214 throws MessagingException; 215 } 216 | Popular Tags |