aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java/com/libmailcore/NNTPGroupInfo.java
diff options
context:
space:
mode:
authorGravatar Robert Widmann <devteam.codafi@gmail.com>2015-02-21 21:58:36 -0700
committerGravatar Robert Widmann <devteam.codafi@gmail.com>2015-02-21 21:58:36 -0700
commite1fddae3b6edbbd33a22408f30a36704906cd30f (patch)
tree95d7a0b3f33d03e2f8f46193af8b287f0a734fa7 /src/java/com/libmailcore/NNTPGroupInfo.java
parent261fe679c7fb736dd3bd01c05871d7b4c5337bb6 (diff)
parent8a0df88bbb36804020111385a7aaed2c701a1944 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/java/com/libmailcore/NNTPGroupInfo.java')
-rw-r--r--src/java/com/libmailcore/NNTPGroupInfo.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/java/com/libmailcore/NNTPGroupInfo.java b/src/java/com/libmailcore/NNTPGroupInfo.java
new file mode 100644
index 00000000..b7bb1dba
--- /dev/null
+++ b/src/java/com/libmailcore/NNTPGroupInfo.java
@@ -0,0 +1,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();
+}