Top Description Interfaces Classes
[default module]

Package com.sun.mail.imap.protocol


This package includes internal IMAP support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.

Interface Summary

Modifier and TypeInterface and Description
public interface
Item

A tagging interface for all IMAP data items.

public interface
SaslAuthenticator

Interface to make it easier to call IMAPSaslAuthenticator.

Class Summary

Modifier and TypeClass and Description
public class
BASE64MailboxDecoder

See the BASE64MailboxEncoder for a description of the RFC2060 and how mailbox names should be encoded.

public class
BASE64MailboxEncoder

From RFC2060:


5.1.3.  Mailbox International Naming Convention

  By convention, international mailbox names are specified using a
  modified version of the UTF-7 encoding described in [UTF-7].  The
  purpose of these modifications is to correct the following problems
  with UTF-7:

     1) UTF-7 uses the "+" character for shifting; this conflicts with
        the common use of "+" in mailbox names, in particular USENET
        newsgroup names.

     2) UTF-7's encoding is BASE64 which uses the "/" character; this
        conflicts with the use of "/" as a popular hierarchy delimiter.

     3) UTF-7 prohibits the unencoded usage of "\"; this conflicts with
        the use of "\" as a popular hierarchy delimiter.

     4) UTF-7 prohibits the unencoded usage of "~"; this conflicts with
        the use of "~" in some servers as a home directory indicator.

     5) UTF-7 permits multiple alternate forms to represent the same
        string; in particular, printable US-ASCII chararacters can be
        represented in encoded form.

  In modified UTF-7, printable US-ASCII characters except for "&"
  represent themselves; that is, characters with octet values 0x20-0x25
  and 0x27-0x7e.  The character "&" (0x26) is represented by the two-
  octet sequence "&-".

  All other characters (octet values 0x00-0x1f, 0x7f-0xff, and all
  Unicode 16-bit octets) are represented in modified BASE64, with a
  further modification from [UTF-7] that "," is used instead of "/".
  Modified BASE64 MUST NOT be used to represent any printing US-ASCII
  character which can represent itself.

  "&" is used to shift to modified BASE64 and "-" to shift back to US-
  ASCII.  All names start in US-ASCII, and MUST end in US-ASCII (that
  is, a name that ends with a Unicode 16-bit octet MUST end with a "-
  ").

  For example, here is a mailbox name which mixes English, Japanese,
  and Chinese text: ~peter/mail/&ZeVnLIqe-/&U,BTFw-

public class
BODY

The BODY fetch response item.

public class
BODYSTRUCTURE

A BODYSTRUCTURE response.

public class
ENVELOPE

The ENEVELOPE item of an IMAP FETCH response.

public abstract class
FetchItem

Metadata describing a FETCH item.

public class
FetchResponse

This class represents a FETCH response obtained from the input stream of an IMAP server.

public class
FLAGS

This class

public class
ID

This class represents the response to the ID command.

pack-priv class
public class
IMAPProtocol

This class extends the iap.Protocol object and implements IMAP semantics.

public class
IMAPReferralException

A ProtocolException that includes IMAP login referral information.

public class
IMAPResponse

This class represents a response obtained from the input stream of an IMAP server.

public class
IMAPSaslAuthenticator

This class contains a single method that does authentication using SASL.

public class
INTERNALDATE

An INTERNALDATE FETCH item.

public class
ListInfo

A LIST response.

public class
MailboxInfo

Information collected when opening a mailbox.

public class
MessageSet

This class holds the 'start' and 'end' for a range of messages.

public class
MODSEQ

This class represents the MODSEQ data item.

public class
Namespaces

This class and its inner class represent the response to the NAMESPACE command.

public class
RFC822DATA

The RFC822 response data item.

public class
RFC822SIZE

An RFC822SIZE FETCH item.

public class
SearchSequence

This class traverses a search-tree and generates the corresponding IMAP search sequence.

public class
Status

STATUS response.

public class
UID

This class represents the UID data item.

public class
UIDSet

This class holds the 'start' and 'end' for a range of UIDs.