aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java/com/libmailcore/IMAPFolderStatus.java
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-01-14 23:26:38 -0800
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-01-14 23:26:48 -0800
commit686d0e22b545808486cadb4d1e1a272515ecc7fd (patch)
treef2c7dc5c0349079a959f7365eda6844fd98e5e3f /src/java/com/libmailcore/IMAPFolderStatus.java
parentdfd76892dbab3b7fdc8dd6e12a2f262b1445a3bc (diff)
Work in progress on javadoc
Diffstat (limited to 'src/java/com/libmailcore/IMAPFolderStatus.java')
-rw-r--r--src/java/com/libmailcore/IMAPFolderStatus.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/java/com/libmailcore/IMAPFolderStatus.java b/src/java/com/libmailcore/IMAPFolderStatus.java
index 09589252..b3ce5abc 100644
--- a/src/java/com/libmailcore/IMAPFolderStatus.java
+++ b/src/java/com/libmailcore/IMAPFolderStatus.java
@@ -1,27 +1,46 @@
package com.libmailcore;
+/** Folder status. */
public class IMAPFolderStatus extends NativeObject {
public IMAPFolderStatus()
{
setupNative();
}
+ /** Sets the number of unseen messages. */
public native void setUnseenCount(long unseen);
+ /** Returns the number of unseen messages. */
public native long unseenCount();
+ /** Sets the number of messages in the folder. */
public native void setMessageCount(long messages);
+ /** Returns the number of messages in the folder. */
public native long messageCount();
+ /** Sets the number of recent messages. */
public native void setRecentCount(long recent);
+ /** Returns the number of recent messages. */
public native long recentCount();
+ /** Sets the netx uid value. */
public native void setUidNext(long uidNext);
+ /**
+ Returns the message UID that will be likely used if a message is
+ added to that folder.
+ */
public native long uidNext();
+ /** Sets the UID validity */
public native void setUidValidity(long uidValidity);
+ /**
+ Returns the UID validity of the folder. If that value change for a given folder path,
+ it means that the uids of the messages that you may have cached are not valid any more.
+ */
public native long uidValidity();
+ /** Sets the highest modification sequence value of the messages in the folder. */
public native void setHighestModSeqValue(long highestModSeqValue);
+ /** Returns the highest modification sequence value of the messages in the folder. */
public native long highestModSeqValue();
private native void setupNative();