aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java/com/libmailcore/IMAPNamespace.java
blob: 5658b1aa4effaf04970df46fd0b206a0927b079f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.libmailcore;

import java.util.List;

public class IMAPNamespace extends NativeObject {
    public native String mainPrefix();
    public native char mainDelimiter();
    
    public native List<String> prefixes();
    
    public native String pathForComponents(List<String> components);
    public native String pathForComponentsAndPrefix(List<String> components, String prefix);
    
    public native List<String> componentsFromPath(String path);
    
    public native boolean containsFolderPath(String path);
    
    public static native IMAPNamespace namespaceWithPrefix(String prefix, char delimiter);
}