Package com.oroinc.net.pop3
Class POP3MessageInfo
- java.lang.Object
-
- com.oroinc.net.pop3.POP3MessageInfo
-
public final class POP3MessageInfo extends java.lang.ObjectPOP3MessageInfo is used to return information about messages stored on a POP3 server. Its fields are used to mean slightly different things depending on the information being returned.In response to a status command,
numbercontains the number of messages in the mailbox,sizecontains the size of the mailbox in bytes, andidentifieris null.In response to a message listings,
numbercontains the message number,sizecontains the size of the message in bytes, andidentifieris null.In response to unique identifier listings,
numbercontains the message number,sizeis undefined, andidentifiercontains the message's unique identifier.- Author:
- Daniel F. Savarese
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringidentifierintnumberintsize
-
Constructor Summary
Constructors Constructor Description POP3MessageInfo()Creates a POP3MessageInfo instance withnumberandsizeset to 0, andidentifierset to null.POP3MessageInfo(int num, int octets)Creates a POP3MessageInfo instance withnumberset tonum,sizeset tooctets, andidentifierset to null.POP3MessageInfo(int num, java.lang.String uid)Creates a POP3MessageInfo instance withnumberset tonum,sizeundefined, andidentifierset touid.
-
-
-
Constructor Detail
-
POP3MessageInfo
public POP3MessageInfo()
Creates a POP3MessageInfo instance withnumberandsizeset to 0, andidentifierset to null.
-
POP3MessageInfo
public POP3MessageInfo(int num, int octets)Creates a POP3MessageInfo instance withnumberset tonum,sizeset tooctets, andidentifierset to null.
-
POP3MessageInfo
public POP3MessageInfo(int num, java.lang.String uid)Creates a POP3MessageInfo instance withnumberset tonum,sizeundefined, andidentifierset touid.
-
-