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

/** Newsgroup infos. */
public class NNTPGroupInfo extends NativeObject {
    /** Constructor. */
    public NNTPGroupInfo()
    {
        setupNative();
    }
    
    /** Sets the name of the newsgroup. */
    public native void setName(String name);
    /** Returns the name of the newsgroup. */
    public native String name();
    
    /** Sets the number of messages in the newsgroup. */
    public native void setMessageCount(long count);
    /** Returns the number of messages in the newsgroup. */
    public native long messageCount();
    
    private native void setupNative();
}