diff options
Diffstat (limited to 'src/java/com/libmailcore/POPMessageInfo.java')
-rw-r--r-- | src/java/com/libmailcore/POPMessageInfo.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/java/com/libmailcore/POPMessageInfo.java b/src/java/com/libmailcore/POPMessageInfo.java index cbb2aa31..70230fe7 100644 --- a/src/java/com/libmailcore/POPMessageInfo.java +++ b/src/java/com/libmailcore/POPMessageInfo.java @@ -1,18 +1,26 @@ package com.libmailcore; +/** Info about a message. */ public class POPMessageInfo extends NativeObject { + /** Constructor. */ public POPMessageInfo() { setupNative(); } + /** Sets the index of the message. */ public native void setIndex(int index); + /** Returns the index of the message, valid during the POP session. */ public native int index(); + /** Sets the size of the message. */ public native void setSize(long size); + /** Returns the size of the message. */ public native long size(); + /** Sets the unique identifier of the message. */ public native void setUid(String uid); + /** Returns the unique identifier of the message. */ public native String uid(); private native void setupNative(); |