aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java/com/libmailcore/IMAPFolder.java
blob: e472167bc57fcd8f4786523d22e1a2e9211b4c09 (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
31
32
package com.libmailcore;

/** IMAP folder. */
public class IMAPFolder extends NativeObject {
    public IMAPFolder()
    {
        setupNative();
    }
    
    /** Sets the path of the folder. */
    public native void setPath(String path);
    /** Returns the path of the folder. */
    public native String path();
    
    /** Sets the delimiter of the folder. */
    public native void setDelimiter(char delimiter);
    /** Returns the delimiter of the folder. */
    public native char delimiter();
    
    /**
        Sets the flags of the folder.
        @see com.libmailcore.IMAPFolderFlags
    */
    public native void setFlags(int flags);
    /**
        Returns the flags of the folder.
        @see com.libmailcore.IMAPFolderFlags
    */
    public native int flags();
    
    private native void setupNative();
}