aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java/com/libmailcore/IMAPPart.java
blob: 50faf95c3de29420ed0b24fe81e5ace83ceb8d0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.libmailcore;

/** IMAP part. */
public class IMAPPart extends AbstractPart {
    /** Sets part ID. */
    public native void setPartID(String partID);
    /** Returns part ID. */
    public native String partID();
    
    /** Sets encoded size of the part. */
    public native void setSize(long size);
    /** Returns encoded size of the part. */
    public native long size();
    
    /** Returns decoded size. */
    public native long decodedSize();
    
    /**
        Sets encoding used (base64, quoted-printable, etc).
        @see com.libmailcore.Encoding
    */
    public native void setEncoding(int encoding);
    /**
        Returns encoding used (base64, quoted-printable, etc.)
        @see com.libmailcore.Encoding
    */
    public native int encoding();

    private static final long serialVersionUID = 1L;
}