1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package javax.mail.internet;
21
22 import java.util.Enumeration;
23 import javax.mail.MessagingException;
24 import javax.mail.Part;
25
26
27
28
29 public interface MimePart extends Part {
30 public abstract void addHeaderLine(String line) throws MessagingException;
31
32 public abstract Enumeration getAllHeaderLines() throws MessagingException;
33
34 public abstract String getContentID() throws MessagingException;
35
36 public abstract String[] getContentLanguage() throws MessagingException;
37
38 public abstract String getContentMD5() throws MessagingException;
39
40 public abstract String getEncoding() throws MessagingException;
41
42 public abstract String getHeader(String header, String delimiter)
43 throws MessagingException;
44
45 public abstract Enumeration getMatchingHeaderLines(String[] names)
46 throws MessagingException;
47
48 public abstract Enumeration getNonMatchingHeaderLines(String[] names)
49 throws MessagingException;
50
51 public abstract void setContentLanguage(String[] languages)
52 throws MessagingException;
53
54 public abstract void setContentMD5(String content)
55 throws MessagingException;
56
57 public abstract void setText(String text) throws MessagingException;
58
59 public abstract void setText(String text, String charset)
60 throws MessagingException;
61
62 public abstract void setText(String text, String charset, String subType)
63 throws MessagingException;
64 }