A B C D E F G H I K L M N O P Q R S T U W Y 
All Classes All Packages

A

ACL - Class in com.sun.mail.imap
An access control list entry for a particular authentication identifier (user or group).
ACL(String) - Constructor for class com.sun.mail.imap.ACL
Construct an ACL entry for the given identifier and with no rights.
ACL(String, Rights) - Constructor for class com.sun.mail.imap.ACL
Construct an ACL entry for the given identifier with the given rights.
add(Status, Status) - Static method in class com.sun.mail.imap.protocol.Status
 
add(Rights) - Method in class com.sun.mail.imap.Rights
Add all the rights in the given Rights object to this Rights object.
add(Rights.Right) - Method in class com.sun.mail.imap.Rights
Add the specified right to this Rights object.
addACL(ACL) - Method in class com.sun.mail.imap.IMAPFolder
Add an access control list entry to the access control list for this folder.
addFrom(Address[]) - Method in class com.sun.mail.imap.IMAPMessage
 
addHeader(String, String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
addHeader(String, String) - Method in class com.sun.mail.imap.IMAPMessage
 
addHeaderLine(String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
addHeaderLine(String) - Method in class com.sun.mail.imap.IMAPMessage
 
addMessageCountListener(MessageCountListener) - Method in class com.sun.mail.imap.IMAPFolder
 
addMessages(int, int) - Method in class com.sun.mail.imap.MessageCache
Add count messages to the cache.
addMessages(Message[]) - Method in class com.sun.mail.imap.IMAPFolder
Append the given messages into this folder.
addRecipients(Message.RecipientType, Address[]) - Method in class com.sun.mail.imap.IMAPMessage
 
addResponseHandler(ResponseHandler) - Method in class com.sun.mail.iap.Protocol
Adds a response handler.
addRights(ACL) - Method in class com.sun.mail.imap.IMAPFolder
Add the rights specified in the ACL to the entry for the identifier specified in the ACL.
ADMINISTER - Static variable in class com.sun.mail.imap.Rights.Right
Administer - perform SETACL.
and(AndTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
append(Argument) - Method in class com.sun.mail.iap.Argument
Append the given Argument to this Argument.
append(String, Flags, Date, Literal) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
APPEND Command.
appendMessages(Message[]) - Method in class com.sun.mail.imap.DefaultFolder
 
appendMessages(Message[]) - Method in class com.sun.mail.imap.IMAPFolder
Append the given messages into this folder.
appenduid(String, Flags, Date, Literal) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
APPEND Command, return uid from APPENDUID response code.
appenduid(String, Flags, Date, Literal, boolean) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
 
AppendUID - Class in com.sun.mail.imap
Information from the APPENDUID response code defined by the UIDPLUS extension - RFC 4315.
AppendUID(long, long) - Constructor for class com.sun.mail.imap.AppendUID
 
appendUIDMessages(Message[]) - Method in class com.sun.mail.imap.IMAPFolder
Append the given messages into this folder.
Argument - Class in com.sun.mail.iap
 
Argument() - Constructor for class com.sun.mail.iap.Argument
Constructor
ARRIVAL - Static variable in class com.sun.mail.imap.SortTerm
Sort by message arrival date and time.
attachment - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
attributes - Variable in class com.sun.mail.imap.IMAPFolder
 
attrs - Variable in class com.sun.mail.imap.protocol.ListInfo
 
authenticate(String[], String, String, String, String) - Method in class com.sun.mail.imap.protocol.IMAPSaslAuthenticator
 
authenticate(String[], String, String, String, String) - Method in interface com.sun.mail.imap.protocol.SaslAuthenticator
 
authlogin(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
The AUTHENTICATE command with AUTH=LOGIN authenticate scheme
authntlm(String, String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
The AUTHENTICATE command with AUTH=NTLM authentication scheme.
authoauth2(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
The AUTHENTICATE command with AUTH=XOAUTH2 authentication scheme.
authorizationID - Variable in class com.sun.mail.imap.IMAPStore
 
authplain(String, String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
The AUTHENTICATE command with AUTH=PLAIN authentication scheme.
available() - Method in class com.sun.mail.iap.ResponseInputStream
How much buffered data do we have?
available() - Method in class com.sun.mail.imap.IMAPInputStream
Returns the number of bytes that can be read from this input stream without blocking.
availableFlags - Variable in class com.sun.mail.imap.IMAPFolder
 
availableFlags - Variable in class com.sun.mail.imap.protocol.MailboxInfo
The available flags.

B

BAD - Static variable in class com.sun.mail.iap.Response
 
BadCommandException - Exception in com.sun.mail.iap
 
BadCommandException() - Constructor for exception com.sun.mail.iap.BadCommandException
Constructs an BadCommandException with no detail message.
BadCommandException(Response) - Constructor for exception com.sun.mail.iap.BadCommandException
Constructs an BadCommandException with the specified Response.
BadCommandException(String) - Constructor for exception com.sun.mail.iap.BadCommandException
Constructs an BadCommandException with the specified detail message.
base64decode(char[], int, CharacterIterator) - Static method in class com.sun.mail.imap.protocol.BASE64MailboxDecoder
 
BASE64MailboxDecoder - Class in com.sun.mail.imap.protocol
See the BASE64MailboxEncoder for a description of the RFC2060 and how mailbox names should be encoded.
BASE64MailboxDecoder() - Constructor for class com.sun.mail.imap.protocol.BASE64MailboxDecoder
 
BASE64MailboxEncoder - Class in com.sun.mail.imap.protocol
From RFC2060:
BASE64MailboxEncoder(Writer) - Constructor for class com.sun.mail.imap.protocol.BASE64MailboxEncoder
Create a BASE64 encoder
bcc - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
bodies - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
body(BodyTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
BODY - Class in com.sun.mail.imap.protocol
The BODY fetch response item.
BODY(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.BODY
Constructor
BODYSTRUCTURE - Class in com.sun.mail.imap.protocol
A BODYSTRUCTURE response.
BODYSTRUCTURE(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
bs - Variable in class com.sun.mail.imap.IMAPMessage
 
buffer - Variable in class com.sun.mail.iap.Response
 
buffer - Variable in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
 
bufsize - Variable in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
 
BYE - Static variable in class com.sun.mail.iap.Response
 
byeResponse(Exception) - Static method in class com.sun.mail.iap.Response
Return a Response object that looks like a BYE protocol response.
ByteArray - Class in com.sun.mail.iap
A simple wrapper around a byte array, with a start position and count of bytes.
ByteArray(byte[], int, int) - Constructor for class com.sun.mail.iap.ByteArray
Constructor
ByteArray(int) - Constructor for class com.sun.mail.iap.ByteArray
Constructor that creates a byte array of the specified size.

C

cal - Variable in class com.sun.mail.imap.protocol.SearchSequence
 
canOpen - Variable in class com.sun.mail.imap.protocol.ListInfo
 
capability() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
CAPABILITY command.
cc - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
CC - Static variable in class com.sun.mail.imap.SortTerm
Sort by email address of first Cc recipient.
CHANGED - Static variable in class com.sun.mail.imap.protocol.ListInfo
 
changeState - Variable in class com.sun.mail.imap.protocol.ListInfo
 
check() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
CHECK Command.
checkClosed() - Method in class com.sun.mail.imap.IMAPFolder
 
checkExists() - Method in class com.sun.mail.imap.IMAPFolder
 
checkExpunged() - Method in class com.sun.mail.imap.IMAPMessage
 
checkExpunged() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
checkOpened() - Method in class com.sun.mail.imap.IMAPFolder
 
checkRange(int) - Method in class com.sun.mail.imap.IMAPFolder
 
clone() - Method in class com.sun.mail.imap.ACL
Clone this ACL entry.
clone() - Method in class com.sun.mail.imap.Rights
Returns a clone of this Rights object.
close() - Method in class com.sun.mail.imap.IMAPStore
Close this Store.
close() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
CLOSE Command.
close(boolean) - Method in class com.sun.mail.imap.IMAPFolder
Close this folder.
com.sun.mail.iap - package com.sun.mail.iap
This package includes internal IMAP support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
com.sun.mail.imap - module com.sun.mail.imap
 
com.sun.mail.imap - package com.sun.mail.imap
An IMAP protocol provider for the Jakarta Mail API that provides access to an IMAP message store.
com.sun.mail.imap.protocol - package com.sun.mail.imap.protocol
This package includes internal IMAP support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
command(String, Argument) - Method in class com.sun.mail.iap.Protocol
Send a command to the server.
CommandFailedException - Exception in com.sun.mail.iap
 
CommandFailedException() - Constructor for exception com.sun.mail.iap.CommandFailedException
Constructs an CommandFailedException with no detail message.
CommandFailedException(Response) - Constructor for exception com.sun.mail.iap.CommandFailedException
Constructs an CommandFailedException with the specified Response.
CommandFailedException(String) - Constructor for exception com.sun.mail.iap.CommandFailedException
Constructs an CommandFailedException with the specified detail message.
compress() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
COMPRESS Command.
CONDSTORE - Static variable in class com.sun.mail.imap.ResyncData
Used to enable only the CONDSTORE extension.
ConnectionException - Exception in com.sun.mail.iap
 
ConnectionException() - Constructor for exception com.sun.mail.iap.ConnectionException
Constructs an ConnectionException with no detail message.
ConnectionException(Protocol, Response) - Constructor for exception com.sun.mail.iap.ConnectionException
Constructs an ConnectionException with the specified Response.
ConnectionException(String) - Constructor for exception com.sun.mail.iap.ConnectionException
Constructs an ConnectionException with the specified detail message.
contains(Rights) - Method in class com.sun.mail.imap.Rights
Check whether all the rights in the specified Rights object are present in this Rights object.
contains(Rights.Right) - Method in class com.sun.mail.imap.Rights
Check whether the specified right is present in this Rights object.
CONTINUATION - Static variable in class com.sun.mail.iap.Response
 
copy(int, int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
COPY command.
copy(MessageSet[], String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
COPY command.
copyMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
Copy the specified messages from this folder, to the specified destination.
copyuid(int, int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
COPY command, return uid from COPYUID response code.
copyuid(MessageSet[], String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
COPY command, return uid from COPYUID response code.
CopyUID - Class in com.sun.mail.imap
Information from the COPYUID response code defined by the UIDPLUS extension - RFC 4315.
CopyUID(long, UIDSet[], UIDSet[]) - Constructor for class com.sun.mail.imap.CopyUID
 
copyUIDMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
Copy the specified messages from this folder, to the specified destination.
cParams - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
create(int) - Method in class com.sun.mail.imap.IMAPFolder
Create this folder, with the specified type.
create(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
CREATE Command.
CREATE - Static variable in class com.sun.mail.imap.Rights.Right
Create - CREATE new sub-mailboxes in any implementation-defined hierarchy, RENAME or DELETE mailbox.
createFlagList(Flags) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Creates an IMAP flag_list from the given Flags object.
createMessageSets(int[]) - Static method in class com.sun.mail.imap.protocol.MessageSet
Convert an array of integers into an array of MessageSets
createUIDSets(long[]) - Static method in class com.sun.mail.imap.protocol.UIDSet
Convert an array of longs into an array of UIDSets

D

date - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
date - Variable in class com.sun.mail.imap.protocol.INTERNALDATE
 
DATE - Static variable in class com.sun.mail.imap.SortTerm
Sort by sent date and time.
decode(String) - Static method in class com.sun.mail.imap.protocol.BASE64MailboxDecoder
 
DefaultFolder - Class in com.sun.mail.imap
The default IMAP folder (root of the naming hierarchy).
DefaultFolder(IMAPStore) - Constructor for class com.sun.mail.imap.DefaultFolder
 
defaultPort - Variable in class com.sun.mail.imap.IMAPStore
 
delete(boolean) - Method in class com.sun.mail.imap.DefaultFolder
 
delete(boolean) - Method in class com.sun.mail.imap.IMAPFolder
Delete this folder.
delete(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
DELETE Command.
DELETE - Static variable in class com.sun.mail.imap.Rights.Right
Delete - STORE \DELETED flag, perform EXPUNGE.
deleteACL(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
DELETEACL Command.
delimiter - Variable in class com.sun.mail.imap.protocol.Namespaces.Namespace
Delimiter between names in this namespace.
description - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
disconnect() - Method in class com.sun.mail.iap.Protocol
Disconnect.
disconnect() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Close socket connection.
disposition - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
doCommand(IMAPFolder.ProtocolCommand) - Method in class com.sun.mail.imap.IMAPFolder
Execute a user-supplied IMAP command.
doCommand(IMAPProtocol) - Method in interface com.sun.mail.imap.IMAPFolder.ProtocolCommand
Execute the user-defined command using the supplied IMAPProtocol object.
doCommandIgnoreFailure(IMAPFolder.ProtocolCommand) - Method in class com.sun.mail.imap.IMAPFolder
 
doList(String, String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Execute the specified LIST-like command (e.g., "LIST" or "LSUB"), using the reference and pattern.
doOptionalCommand(String, IMAPFolder.ProtocolCommand) - Method in class com.sun.mail.imap.IMAPFolder
 
doProtocolCommand(IMAPFolder.ProtocolCommand) - Method in class com.sun.mail.imap.IMAPFolder
 
dParams - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
dst - Variable in class com.sun.mail.imap.CopyUID
 

E

enable(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
ENABLE Command.
enabled - Variable in class com.sun.mail.imap.protocol.IMAPProtocol
 
encode() - Method in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
 
encode(String) - Static method in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
 
encoding - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
end - Variable in class com.sun.mail.imap.protocol.MessageSet
 
end - Variable in class com.sun.mail.imap.protocol.UIDSet
 
envelope - Variable in class com.sun.mail.imap.IMAPMessage
 
envelope - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
ENVELOPE - Class in com.sun.mail.imap.protocol
The ENEVELOPE item of an IMAP FETCH response.
ENVELOPE(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.ENVELOPE
 
equals(Object) - Method in class com.sun.mail.imap.ModifiedSinceTerm
Equality comparison.
equals(Object) - Method in class com.sun.mail.imap.OlderTerm
Equality comparison.
equals(Object) - Method in class com.sun.mail.imap.Rights
Check whether the two Rights objects are equal.
equals(Object) - Method in class com.sun.mail.imap.YoungerTerm
Equality comparison.
ex - Variable in class com.sun.mail.iap.Response
 
examine(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
EXAMINE Command.
examine(String, ResyncData) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
EXAMINE Command with QRESYNC data.
exists - Variable in class com.sun.mail.imap.IMAPFolder
 
exists() - Method in class com.sun.mail.imap.IMAPFolder
Check whether this folder really exists on the server.
expunge() - Method in class com.sun.mail.imap.DefaultFolder
 
expunge() - Method in class com.sun.mail.imap.IMAPFolder
Expunge all messages marked as DELETED.
expunge() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
EXPUNGE Command.
expunge(Message[]) - Method in class com.sun.mail.imap.IMAPFolder
Expunge the indicated messages, which must have been marked as DELETED.
expungeMessage(int) - Method in class com.sun.mail.imap.MessageCache
Expunge the message with the given sequence number.

F

fetch(int, int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
 
fetch(int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
 
fetch(MessageSet[], String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
 
fetch(Message[], FetchProfile) - Method in class com.sun.mail.imap.IMAPFolder
Prefetch attributes, based on the given FetchProfile.
fetchBody(int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Fetch given BODY section.
fetchBody(int, String, boolean) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
 
fetchBody(int, String, int, int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Partial FETCH of given BODY section.
fetchBody(int, String, int, int, boolean, ByteArray) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
 
fetchBody(int, String, int, int, ByteArray) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Partial FETCH of given BODY section.
fetchBodyStructure(int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Fetch the BODYSTRUCTURE of the specified message.
fetchFlags(int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Fetch the FLAGS for the given message.
fetchItem(FetchItem) - Method in class com.sun.mail.imap.IMAPMessage
Fetch an individual item for the current message.
FetchItem - Class in com.sun.mail.imap.protocol
Metadata describing a FETCH item.
FetchItem(String, FetchProfile.Item) - Constructor for class com.sun.mail.imap.protocol.FetchItem
 
fetchMODSEQ(int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Fetch the IMAP MODSEQ for the given message.
FetchProfileCondition(FetchProfile, FetchItem[]) - Constructor for class com.sun.mail.imap.IMAPMessage.FetchProfileCondition
Create a FetchProfileCondition to determine if we need to fetch any of the information specified in the FetchProfile.
FetchProfileItem(String) - Constructor for class com.sun.mail.imap.IMAPFolder.FetchProfileItem
 
FetchResponse - Class in com.sun.mail.imap.protocol
This class represents a FETCH response obtained from the input stream of an IMAP server.
FetchResponse(Protocol) - Constructor for class com.sun.mail.imap.protocol.FetchResponse
 
FetchResponse(IMAPResponse) - Constructor for class com.sun.mail.imap.protocol.FetchResponse
 
FetchResponse(IMAPResponse, FetchItem[]) - Constructor for class com.sun.mail.imap.protocol.FetchResponse
Construct a FetchResponse that handles the additional FetchItems.
fetchRFC822(int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Fetch the specified RFC822 Data item.
fetchSectionBody(int, String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Fetch the given body section of the given message, using the body string "body".
fetchSequenceNumber(long) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Get the sequence number for the given UID.
fetchSequenceNumbers(long[]) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Get the sequence numbers for UIDs specified in the array.
fetchSequenceNumbers(long, long) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Get the sequence numbers for UIDs ranging from start till end.
fetchUID(int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Fetch the IMAP UID for the given message.
finalize() - Method in class com.sun.mail.iap.Protocol
Finalizer.
finalize() - Method in class com.sun.mail.imap.IMAPStore
 
first - Variable in class com.sun.mail.imap.protocol.MailboxInfo
The first unseen message.
flag(FlagTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
FLAGS - Class in com.sun.mail.imap.protocol
This class
FLAGS(IMAPResponse) - Constructor for class com.sun.mail.imap.protocol.FLAGS
Constructor.
flush() - Method in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
 
forceCheckExpunged() - Method in class com.sun.mail.imap.IMAPMessage
Do a NOOP to force any untagged EXPUNGE responses and then check if this message is expunged.
forceClose() - Method in class com.sun.mail.imap.IMAPFolder
Close this folder without waiting for the server.
format(Date) - Static method in class com.sun.mail.imap.protocol.INTERNALDATE
Format given Date object into INTERNALDATE string
from - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
from(String, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
FROM - Static variable in class com.sun.mail.imap.SortTerm
Sort by first From email address.
fullName - Variable in class com.sun.mail.imap.IMAPFolder
 

G

generateSequence(SearchTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
Generate the IMAP search sequence for the given search expression.
getACL() - Method in class com.sun.mail.imap.IMAPFolder
Get the access control list entries for this folder.
getACL(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
GETACL Command.
getAllHeaderLines() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getAllHeaderLines() - Method in class com.sun.mail.imap.IMAPMessage
Get all header-lines.
getAllHeaders() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getAllHeaders() - Method in class com.sun.mail.imap.IMAPMessage
Get all headers.
getAttributes() - Method in class com.sun.mail.imap.IMAPFolder
Get the attributes that the IMAP server returns with the LIST response.
getBodyPart(int) - Method in class com.sun.mail.imap.IMAPMultipartDataSource
 
getByteArray() - Method in class com.sun.mail.imap.protocol.BODY
 
getByteArray() - Method in class com.sun.mail.imap.protocol.RFC822DATA
 
getByteArrayInputStream() - Method in class com.sun.mail.imap.protocol.BODY
 
getByteArrayInputStream() - Method in class com.sun.mail.imap.protocol.RFC822DATA
 
getBytes() - Method in class com.sun.mail.iap.ByteArray
Returns the internal byte array.
getCapabilities() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Return the map of capabilities returned by the server.
getChannel() - Method in class com.sun.mail.iap.Protocol
Return the SocketChannel associated with this connection, if any.
getContentID() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getContentID() - Method in class com.sun.mail.imap.IMAPMessage
Get the Content-ID.
getContentLanguage() - Method in class com.sun.mail.imap.IMAPMessage
Get the content language.
getContentMD5() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getContentMD5() - Method in class com.sun.mail.imap.IMAPMessage
Get the Content-MD5.
getContentStream() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getContentStream() - Method in class com.sun.mail.imap.IMAPMessage
Get all the bytes for this message.
getContentType() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getContentType() - Method in class com.sun.mail.imap.IMAPMessage
Get the Content-Type.
getCopyUID(Response[]) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
If the response contains a COPYUID response code, extract it and return a CopyUID object with the information.
getCount() - Method in class com.sun.mail.iap.ByteArray
Returns the count of bytes
getCount() - Method in class com.sun.mail.imap.IMAPMultipartDataSource
 
getDataHandler() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getDataHandler() - Method in class com.sun.mail.imap.IMAPMessage
Get the DataHandler object for this message.
getDate() - Method in class com.sun.mail.imap.protocol.INTERNALDATE
 
getDefaultFolder() - Method in class com.sun.mail.imap.IMAPStore
Get the default folder, representing the root of this user's namespace.
getDeletedMessageCount() - Method in class com.sun.mail.imap.IMAPFolder
Get the deleted message count.
getDescription() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getDescription() - Method in class com.sun.mail.imap.IMAPMessage
Get the decoded Content-Description.
getDisposition() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getDisposition() - Method in class com.sun.mail.imap.IMAPMessage
Get the Content-Disposition.
getEncoding() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getEncoding() - Method in class com.sun.mail.imap.IMAPMessage
Get the Content-Transfer-Encoding.
getEnvelopeCommand() - Method in class com.sun.mail.imap.IMAPFolder
Return the IMAP FETCH items to request in order to load all the "envelope" data.
getException() - Method in class com.sun.mail.iap.Response
Return the exception for a synthetic BYE response.
getExtensionItems() - Method in class com.sun.mail.imap.protocol.FetchResponse
Return a map of the extension items found in this fetch response.
getFetchBlockSize() - Method in class com.sun.mail.imap.IMAPMessage
 
getFetchBlockSize() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
getFetchItems() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Return an array of FetchItem objects describing the FETCH items supported by this protocol.
getFetchProfileItem() - Method in class com.sun.mail.imap.protocol.FetchItem
 
getFileName() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getFileName() - Method in class com.sun.mail.imap.IMAPMessage
Get the "filename" Disposition parameter.
getFlags() - Method in class com.sun.mail.imap.IMAPMessage
Get the Flags for this message.
getFolder(URLName) - Method in class com.sun.mail.imap.IMAPStore
Get named folder.
getFolder(String) - Method in class com.sun.mail.imap.DefaultFolder
 
getFolder(String) - Method in class com.sun.mail.imap.IMAPFolder
Get the named subfolder.
getFolder(String) - Method in class com.sun.mail.imap.IMAPStore
Get named folder.
getFrom() - Method in class com.sun.mail.imap.IMAPMessage
Get the "From" attribute.
getFullName() - Method in class com.sun.mail.imap.IMAPFolder
Get the fullname of this folder.
getHeader(String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
getHeader(String) - Method in class com.sun.mail.imap.IMAPMessage
Get the named header.
getHeader(String, String) - Method in class com.sun.mail.imap.IMAPMessage
Get the named header.
getHighestModSeq() - Method in class com.sun.mail.imap.IMAPFolder
Returns the HIGHESTMODSEQ for this folder.
getInetAddress() - Method in class com.sun.mail.iap.Protocol
Return the address the socket connected to.
getInputStream() - Method in class com.sun.mail.iap.Protocol
Return the Protocol's InputStream.
getInReplyTo() - Method in class com.sun.mail.imap.IMAPMessage
Get the In-Reply-To header.
getInstance(char) - Static method in class com.sun.mail.imap.Rights.Right
Get a Right object representing the specified character.
getInterval() - Method in class com.sun.mail.imap.OlderTerm
Return the interval.
getInterval() - Method in class com.sun.mail.imap.YoungerTerm
Return the interval.
getItem(int) - Method in class com.sun.mail.imap.protocol.FetchResponse
 
getItem(Response[], int, Class<T>) - Static method in class com.sun.mail.imap.protocol.FetchResponse
Return the first fetch response item of the given class for the given message number.
getItem(FetchItem) - Method in class com.sun.mail.imap.IMAPMessage
Return the data associated with the FetchItem.
getItem(Class<T>) - Method in class com.sun.mail.imap.protocol.FetchResponse
 
getItem(String) - Method in class com.sun.mail.imap.protocol.Status
Get the value for the STATUS item.
getItemCount() - Method in class com.sun.mail.imap.protocol.FetchResponse
 
getItems(Response[], int, Class<T>) - Static method in class com.sun.mail.imap.protocol.FetchResponse
Return all fetch response items of the given class for the given message number.
getKey() - Method in class com.sun.mail.imap.protocol.IMAPResponse
 
getLineCount() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getLineCount() - Method in class com.sun.mail.imap.IMAPMessage
Get the total number of lines.
getLocalHost() - Method in class com.sun.mail.iap.Protocol
Get the name of the local host.
getLocalSocketAddress() - Method in class com.sun.mail.iap.Protocol
Return the local SocketAddress (host and port) for this end of the connection.
getMatchingHeaderLines(String[]) - Method in class com.sun.mail.imap.IMAPBodyPart
 
getMatchingHeaderLines(String[]) - Method in class com.sun.mail.imap.IMAPMessage
Get all matching header-lines.
getMatchingHeaders(String[]) - Method in class com.sun.mail.imap.IMAPBodyPart
 
getMatchingHeaders(String[]) - Method in class com.sun.mail.imap.IMAPMessage
Get matching headers.
getMessage(int) - Method in class com.sun.mail.imap.IMAPFolder
Get the specified message.
getMessage(int) - Method in class com.sun.mail.imap.MessageCache
Get the message object for the indicated message number.
getMessageBySeqnum(int) - Method in class com.sun.mail.imap.MessageCache
Get the message object for the indicated sequence number.
getMessageBySeqNumber(int) - Method in class com.sun.mail.imap.IMAPFolder
Get the message object for the given sequence number.
getMessageByUID(long) - Method in class com.sun.mail.imap.IMAPFolder
Get the Message corresponding to the given UID.
getMessageCacheLock() - Method in class com.sun.mail.imap.IMAPMessage
Get the messageCacheLock, associated with this Message's Folder.
getMessageCacheLock() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
getMessageCount() - Method in class com.sun.mail.imap.IMAPFolder
Get the total message count.
getMessageID() - Method in class com.sun.mail.imap.IMAPMessage
Get the Message-ID.
getMessages() - Method in class com.sun.mail.imap.IMAPFolder
getMessagesBySeqNumbers(int[]) - Method in class com.sun.mail.imap.IMAPFolder
Get the message objects for the given sequence numbers.
getMessagesByUID(long[]) - Method in class com.sun.mail.imap.IMAPFolder
Get the Messages specified by the given array.
getMessagesByUID(long, long) - Method in class com.sun.mail.imap.IMAPFolder
Get the Messages specified by the given range.
getMessagesByUIDChangedSince(long, long, long) - Method in class com.sun.mail.imap.IMAPFolder
Get the messages that have been changed since the given MODSEQ value.
getMimeStream() - Method in class com.sun.mail.imap.IMAPBodyPart
Return the MIME format stream corresponding to this message part.
getMimeStream() - Method in class com.sun.mail.imap.IMAPMessage
Return the MIME format stream corresponding to this message.
getModSeq() - Method in class com.sun.mail.imap.IMAPMessage
Return the modification sequence number (MODSEQ) for this message.
getModSeq() - Method in class com.sun.mail.imap.ModifiedSinceTerm
Return the modseq.
getModSeq() - Method in class com.sun.mail.imap.ResyncData
Get the MODSEQ value specified when this instance was created.
getName() - Method in class com.sun.mail.imap.ACL
Get the identifier name for this ACL entry.
getName() - Method in class com.sun.mail.imap.DefaultFolder
 
getName() - Method in class com.sun.mail.imap.IMAPFolder
Get the name of this folder.
getName() - Method in class com.sun.mail.imap.protocol.FetchItem
 
getNewBytes() - Method in class com.sun.mail.iap.ByteArray
Returns a new byte array that is a copy of the data.
getNewMessageCount() - Method in class com.sun.mail.imap.IMAPFolder
Get the new message count.
getNonMatchingHeaderLines(String[]) - Method in class com.sun.mail.imap.IMAPBodyPart
 
getNonMatchingHeaderLines(String[]) - Method in class com.sun.mail.imap.IMAPMessage
Get all non-matching headerlines.
getNonMatchingHeaders(String[]) - Method in class com.sun.mail.imap.IMAPBodyPart
 
getNonMatchingHeaders(String[]) - Method in class com.sun.mail.imap.IMAPMessage
Get non-matching headers.
getNumber() - Method in class com.sun.mail.imap.protocol.IMAPResponse
 
getOrigin() - Method in class com.sun.mail.imap.protocol.BODY
 
getOutputStream() - Method in class com.sun.mail.iap.Protocol
Return the Protocol's OutputStream
getParent() - Method in class com.sun.mail.imap.DefaultFolder
 
getParent() - Method in class com.sun.mail.imap.IMAPFolder
Get this folder's parent.
getPeek() - Method in class com.sun.mail.imap.IMAPMessage
Get whether or not to use the PEEK variant of FETCH when fetching message content.
getPermanentFlags() - Method in class com.sun.mail.imap.IMAPFolder
Return the permanent flags supported by the server.
getPersonalNamespaces() - Method in class com.sun.mail.imap.IMAPStore
Using the IMAP NAMESPACE command (RFC 2342), return a set of folders representing the Personal namespaces.
getProtocol() - Method in exception com.sun.mail.iap.ConnectionException
 
getProtocol() - Method in class com.sun.mail.imap.IMAPFolder
Return the IMAPProtocol object for this folder.
getProtocol() - Method in class com.sun.mail.imap.IMAPMessage
Get this message's folder's protocol connection.
getProtocol() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
getProxyAuthUser() - Method in class com.sun.mail.imap.IMAPStore
Get the user name to be used with the PROXYAUTH command.
getProxyAuthUser() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Get the user name used with the PROXYAUTH command.
getQuota() - Method in class com.sun.mail.imap.IMAPFolder
Get the quotas for the quotaroot associated with this folder.
getQuota(String) - Method in class com.sun.mail.imap.IMAPStore
Get the quotas for the named quota root.
getQuota(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
GETQUOTA Command.
getQuotaRoot(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
GETQUOTAROOT Command.
getReceivedDate() - Method in class com.sun.mail.imap.IMAPMessage
Get the received date (INTERNALDATE).
getRecipients(Message.RecipientType) - Method in class com.sun.mail.imap.IMAPMessage
Get the desired Recipient type.
getReplyTo() - Method in class com.sun.mail.imap.IMAPMessage
Get the ReplyTo addresses.
getResponse() - Method in exception com.sun.mail.iap.ProtocolException
Return the offending Response object.
getResponseBuffer() - Method in class com.sun.mail.iap.Protocol
Return a buffer to be used to read a response.
getResponseBuffer() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Return a buffer to read a response into.
getRest() - Method in class com.sun.mail.iap.Response
Return the rest of the response as a string, usually used to return the arbitrary message text after a NO response.
getResyncUIDSet(ResyncData) - Static method in class com.sun.mail.imap.Utility
Make the ResyncData UIDSet available to IMAPProtocol, which is in a different package.
getRights() - Method in class com.sun.mail.imap.ACL
Get the rights associated with this ACL entry.
getRights() - Method in class com.sun.mail.imap.Rights
Return all the rights in this Rights object.
getSearchSequence() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Get the SearchSequence object.
getSection() - Method in class com.sun.mail.imap.protocol.BODY
 
getSender() - Method in class com.sun.mail.imap.IMAPMessage
Get the "Sender" attribute.
getSentDate() - Method in class com.sun.mail.imap.IMAPMessage
Get the SentDate.
getSeparator() - Method in class com.sun.mail.imap.IMAPFolder
Get the separator character.
getSequenceNumber() - Method in class com.sun.mail.imap.IMAPMessage
Get this message's IMAP sequence number.
getSequenceNumber() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
getSharedNamespaces() - Method in class com.sun.mail.imap.IMAPStore
Using the IMAP NAMESPACE command (RFC 2342), return a set of folders representing the Shared namespaces.
getSize() - Method in class com.sun.mail.imap.IMAPBodyPart
 
getSize() - Method in class com.sun.mail.imap.IMAPMessage
Get the message size.
getSize() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
getSizeLong() - Method in class com.sun.mail.imap.IMAPMessage
Get the message size as a long.
getSortedMessages(SortTerm[]) - Method in class com.sun.mail.imap.IMAPFolder
Sort the messages in the folder according to the sort criteria.
getSortedMessages(SortTerm[], SearchTerm) - Method in class com.sun.mail.imap.IMAPFolder
Sort the messages in the folder according to the sort criteria.
getStart() - Method in class com.sun.mail.iap.ByteArray
Returns the start position
getStatusItem(String) - Method in class com.sun.mail.imap.IMAPFolder
Use the IMAP STATUS command to get the indicated item.
getStoreProtocol() - Method in class com.sun.mail.imap.IMAPFolder
Get this folder's Store's protocol connection.
getSubject() - Method in class com.sun.mail.imap.IMAPMessage
Get the decoded subject.
getTag() - Method in class com.sun.mail.iap.Response
Return the tag, if this is a tagged statement.
getText() - Method in exception com.sun.mail.imap.ReferralException
Return the text sent by the server along with the referral.
getTimestamp() - Method in class com.sun.mail.iap.Protocol
Returns the timestamp.
getType() - Method in class com.sun.mail.iap.Response
 
getType() - Method in class com.sun.mail.imap.IMAPFolder
Get the type of this folder.
getUID() - Method in class com.sun.mail.imap.IMAPMessage
Return the UID for this message.
getUID(Message) - Method in class com.sun.mail.imap.IMAPFolder
Get the UID for the specified message.
getUIDNext() - Method in class com.sun.mail.imap.IMAPFolder
Returns the predicted UID that will be assigned to the next message that is appended to this folder.
getUIDNotSticky() - Method in class com.sun.mail.imap.IMAPFolder
Servers that support the UIDPLUS extension (RFC 4315) may indicate that this folder does not support persistent UIDs; that is, UIDVALIDITY will be different each time the folder is opened.
getUIDs() - Method in class com.sun.mail.imap.MessageVanishedEvent
Return the UIDs for this event.
getUIDValidity() - Method in class com.sun.mail.imap.IMAPFolder
Returns the UIDValidity for this folder.
getUIDValidity() - Method in class com.sun.mail.imap.ResyncData
Get the UIDVALIDITY value specified when this instance was created.
getUnreadMessageCount() - Method in class com.sun.mail.imap.IMAPFolder
Get the unread message count.
getUrl() - Method in exception com.sun.mail.imap.protocol.IMAPReferralException
Return the IMAP URL in the referral.
getUrl() - Method in exception com.sun.mail.imap.ReferralException
Return the IMAP URL in the referral.
getUserNamespaces(String) - Method in class com.sun.mail.imap.IMAPStore
Using the IMAP NAMESPACE command (RFC 2342), return a set of folders representing the User's namespaces.
grow(int) - Method in class com.sun.mail.iap.ByteArray
Grow the byte array by incr bytes.

H

handleCapabilityResponse(Response[]) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Handle any untagged CAPABILITY response in the Response array.
handleExtensionFetchItems(Map<String, Object>) - Method in class com.sun.mail.imap.IMAPMessage
Apply the data in the extension FETCH items to this message.
handleFetchItem(Item, String[], boolean) - Method in class com.sun.mail.imap.IMAPMessage
Apply the data in the FETCH item to this message.
handleLoginResult(Response) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Handle the result response for a LOGIN or AUTHENTICATE command.
handleResponse(Response) - Method in interface com.sun.mail.iap.ResponseHandler
 
handleResponse(Response) - Method in class com.sun.mail.imap.IMAPFolder
The response handler.
handleResponse(Response) - Method in class com.sun.mail.imap.IMAPStore
Response handler method.
handleResult(Response) - Method in class com.sun.mail.iap.Protocol
Convenience routine to handle OK, NO, BAD and BYE responses.
hasCapability(String) - Method in class com.sun.mail.imap.IMAPStore
Return true if the specified capability string is in the list of capabilities the server announced.
hasCapability(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Check whether the given capability is supported by this server.
hashCode() - Method in class com.sun.mail.imap.ModifiedSinceTerm
Compute a hashCode for this object.
hashCode() - Method in class com.sun.mail.imap.OlderTerm
Compute a hashCode for this object.
hashCode() - Method in class com.sun.mail.imap.Rights
Compute a hash code for this Rights object.
hashCode() - Method in class com.sun.mail.imap.YoungerTerm
Compute a hashCode for this object.
hasInferiors - Variable in class com.sun.mail.imap.protocol.ListInfo
 
hasNewMessages() - Method in class com.sun.mail.imap.DefaultFolder
 
hasNewMessages() - Method in class com.sun.mail.imap.IMAPFolder
Check whether this folder has new messages.
hasResponse() - Method in class com.sun.mail.iap.Protocol
Is another response available in our buffer?
header(HeaderTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
HEADERS - Static variable in class com.sun.mail.imap.IMAPFolder.FetchProfileItem
HEADERS is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder.
highestmodseq - Variable in class com.sun.mail.imap.protocol.MailboxInfo
The highest MODSEQ value.
highestmodseq - Variable in class com.sun.mail.imap.protocol.Status
 
host - Variable in class com.sun.mail.iap.Protocol
 
host - Variable in class com.sun.mail.imap.IMAPStore
 

I

id - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
id(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Deprecated.
As of JavaMail 1.5.1, replaced by id(Map<String,String>)
id(Map<String, String>) - Method in class com.sun.mail.imap.IMAPFolder
Send the IMAP ID command (if supported by the server) and return the result from the server.
id(Map<String, String>) - Method in class com.sun.mail.imap.IMAPStore
Send the IMAP ID command (if supported by the server) and return the result from the server.
id(Map<String, String>) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
ID Command.
ID - Class in com.sun.mail.imap.protocol
This class represents the response to the ID command.
ID(Response) - Constructor for class com.sun.mail.imap.protocol.ID
Parse the server parameter list out of the response.
ID_ADDRESS - Static variable in class com.sun.mail.imap.IMAPStore
 
ID_ARGUMENTS - Static variable in class com.sun.mail.imap.IMAPStore
 
ID_COMMAND - Static variable in class com.sun.mail.imap.IMAPStore
 
ID_DATE - Static variable in class com.sun.mail.imap.IMAPStore
 
ID_ENVIRONMENT - Static variable in class com.sun.mail.imap.IMAPStore
 
ID_NAME - Static variable in class com.sun.mail.imap.IMAPStore
 
ID_OS - Static variable in class com.sun.mail.imap.IMAPStore
 
ID_OS_VERSION - Static variable in class com.sun.mail.imap.IMAPStore
 
ID_SUPPORT_URL - Static variable in class com.sun.mail.imap.IMAPStore
 
ID_VENDOR - Static variable in class com.sun.mail.imap.IMAPStore
 
ID_VERSION - Static variable in class com.sun.mail.imap.IMAPStore
 
idle() - Method in class com.sun.mail.imap.IMAPFolder
Use the IMAP IDLE command (see RFC 2177), if supported by the server, to enter idle mode so that the server can send unsolicited notifications of new messages arriving, etc.
idle() - Method in class com.sun.mail.imap.IMAPStore
Use the IMAP IDLE command (see RFC 2177), if supported by the server, to enter idle mode so that the server can send unsolicited notifications without the need for the client to constantly poll the server.
idle(boolean) - Method in class com.sun.mail.imap.IMAPFolder
Like IMAPFolder.idle(), but if once is true, abort the IDLE command after the first notification, to allow the caller to process any notification synchronously.
idleAbort() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Abort an IDLE command.
IdleManager - Class in com.sun.mail.imap
IdleManager uses the optional IMAP IDLE command (RFC 2177) to watch multiple folders for new messages.
IdleManager(Session, Executor) - Constructor for class com.sun.mail.imap.IdleManager
Create an IdleManager.
idleStart() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
IDLE Command.
ignoreBodyStructureSize() - Method in class com.sun.mail.imap.IMAPMessage
 
ignoreBodyStructureSize() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
IMAPBodyPart - Class in com.sun.mail.imap
An IMAP body part.
IMAPBodyPart(BODYSTRUCTURE, String, IMAPMessage) - Constructor for class com.sun.mail.imap.IMAPBodyPart
 
IMAPFolder - Class in com.sun.mail.imap
This class implements an IMAP folder.
IMAPFolder(ListInfo, IMAPStore) - Constructor for class com.sun.mail.imap.IMAPFolder
Constructor used to create an existing folder.
IMAPFolder(String, char, IMAPStore, Boolean) - Constructor for class com.sun.mail.imap.IMAPFolder
Constructor used to create a possibly non-existent folder.
IMAPFolder.FetchProfileItem - Class in com.sun.mail.imap
A fetch profile item for fetching headers.
IMAPFolder.ProtocolCommand - Interface in com.sun.mail.imap
A simple interface for user-defined IMAP protocol commands.
IMAPInputStream - Class in com.sun.mail.imap
This class implements an IMAP data stream.
IMAPInputStream(IMAPMessage, String, int, boolean) - Constructor for class com.sun.mail.imap.IMAPInputStream
Create an IMAPInputStream.
IMAPMessage - Class in com.sun.mail.imap
This class implements an IMAPMessage object.
IMAPMessage(IMAPFolder, int) - Constructor for class com.sun.mail.imap.IMAPMessage
Constructor.
IMAPMessage(Session) - Constructor for class com.sun.mail.imap.IMAPMessage
Constructor, for use by IMAPNestedMessage.
IMAPMessage.FetchProfileCondition - Class in com.sun.mail.imap
This class implements the test to be done on each message in the folder.
IMAPMultipartDataSource - Class in com.sun.mail.imap
This class
IMAPMultipartDataSource(MimePart, BODYSTRUCTURE[], String, IMAPMessage) - Constructor for class com.sun.mail.imap.IMAPMultipartDataSource
 
IMAPNestedMessage - Class in com.sun.mail.imap
This class implements a nested IMAP message
IMAPProtocol - Class in com.sun.mail.imap.protocol
This class extends the iap.Protocol object and implements IMAP semantics.
IMAPProtocol(InputStream, PrintStream, Properties, boolean) - Constructor for class com.sun.mail.imap.protocol.IMAPProtocol
Constructor for debugging.
IMAPProtocol(String, String, int, Properties, boolean, MailLogger) - Constructor for class com.sun.mail.imap.protocol.IMAPProtocol
Constructor.
IMAPProvider - Class in com.sun.mail.imap
The IMAP protocol provider.
IMAPProvider() - Constructor for class com.sun.mail.imap.IMAPProvider
 
IMAPReferralException - Exception in com.sun.mail.imap.protocol
A ProtocolException that includes IMAP login referral information.
IMAPReferralException(String, String) - Constructor for exception com.sun.mail.imap.protocol.IMAPReferralException
Constructs an IMAPReferralException with the specified detail message.
IMAPResponse - Class in com.sun.mail.imap.protocol
This class represents a response obtained from the input stream of an IMAP server.
IMAPResponse(Protocol) - Constructor for class com.sun.mail.imap.protocol.IMAPResponse
 
IMAPResponse(IMAPResponse) - Constructor for class com.sun.mail.imap.protocol.IMAPResponse
Copy constructor.
IMAPResponse(String) - Constructor for class com.sun.mail.imap.protocol.IMAPResponse
For testing.
IMAPResponse(String, boolean) - Constructor for class com.sun.mail.imap.protocol.IMAPResponse
For testing.
IMAPSaslAuthenticator - Class in com.sun.mail.imap.protocol
This class contains a single method that does authentication using SASL.
IMAPSaslAuthenticator(IMAPProtocol, String, Properties, MailLogger, String) - Constructor for class com.sun.mail.imap.protocol.IMAPSaslAuthenticator
 
IMAPSSLProvider - Class in com.sun.mail.imap
The IMAP SSL protocol provider.
IMAPSSLProvider() - Constructor for class com.sun.mail.imap.IMAPSSLProvider
 
IMAPSSLStore - Class in com.sun.mail.imap
This class provides access to an IMAP message store over SSL.
IMAPSSLStore(Session, URLName) - Constructor for class com.sun.mail.imap.IMAPSSLStore
Constructor that takes a Session object and a URLName that represents a specific IMAP server.
IMAPStore - Class in com.sun.mail.imap
This class provides access to an IMAP message store.
IMAPStore(Session, URLName) - Constructor for class com.sun.mail.imap.IMAPStore
Constructor that takes a Session object and a URLName that represents a specific IMAP server.
IMAPStore(Session, URLName, String, boolean) - Constructor for class com.sun.mail.imap.IMAPStore
Constructor used by this class and by IMAPSSLStore subclass.
INDETERMINATE - Static variable in class com.sun.mail.imap.protocol.ListInfo
 
index - Variable in class com.sun.mail.iap.Response
 
inReplyTo - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
INSERT - Static variable in class com.sun.mail.imap.Rights.Right
Insert - perform APPEND, COPY into mailbox.
INTERNALDATE - Class in com.sun.mail.imap.protocol
An INTERNALDATE FETCH item.
INTERNALDATE - Static variable in class com.sun.mail.imap.IMAPFolder.FetchProfileItem
INTERNALDATE is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder.
INTERNALDATE(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.INTERNALDATE
Constructor.
invalidateHeaders() - Method in class com.sun.mail.imap.IMAPMessage
Invalidate cached header and envelope information for this message.
isAscii(SearchTerm) - Static method in class com.sun.mail.imap.protocol.SearchSequence
Check if the "text" terms in the given SearchTerm contain non US-ASCII characters.
isAscii(SearchTerm[]) - Static method in class com.sun.mail.imap.protocol.SearchSequence
Check if any of the "text" terms in the given SearchTerms contain non US-ASCII characters.
isAscii(String) - Static method in class com.sun.mail.imap.protocol.SearchSequence
Does this string contain only ASCII characters?
isAuthenticated() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Returns true if the connection has been authenticated, either due to a successful login, or due to a PREAUTH greeting response.
isBAD() - Method in class com.sun.mail.iap.Response
 
isBYE() - Method in class com.sun.mail.iap.Response
 
isConnected() - Method in class com.sun.mail.imap.IMAPStore
Check whether this store is connected.
isContinuation() - Method in class com.sun.mail.iap.Response
 
isEnabled(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Is the capability/extension enabled?
isExpunged() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
isHeader() - Method in class com.sun.mail.imap.protocol.BODY
 
isHeader() - Method in class com.sun.mail.imap.protocol.RFC822DATA
 
isMulti() - Method in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
isNamespace - Variable in class com.sun.mail.imap.IMAPFolder
 
isNested() - Method in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
isNextNonSpace(char) - Method in class com.sun.mail.iap.Response
Skip past any spaces.
isNO() - Method in class com.sun.mail.iap.Response
 
isOK() - Method in class com.sun.mail.iap.Response
 
isOpen() - Method in class com.sun.mail.imap.IMAPFolder
Check whether this connection is really open.
isREV1() - Method in class com.sun.mail.imap.IMAPMessage
 
isREV1() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
isREV1() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Returns true if this is an IMAP4rev1 server
isRunning() - Method in class com.sun.mail.imap.IdleManager
Is the IdleManager currently running? The IdleManager starts running when the Executor schedules its task.
isSet(Flags.Flag) - Method in class com.sun.mail.imap.IMAPMessage
Test if the given Flags are set in this message.
isSingle() - Method in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
isSSL - Variable in class com.sun.mail.imap.IMAPStore
 
isSSL() - Method in class com.sun.mail.iap.Protocol
Is this connection using an SSL socket?
isSSL() - Method in class com.sun.mail.imap.IMAPStore
Does this IMAPStore use SSL when connecting to the server?
isSubscribed() - Method in class com.sun.mail.imap.IMAPFolder
Check whether this folder is subscribed.
isSynthetic() - Method in class com.sun.mail.iap.Response
 
isTagged() - Method in class com.sun.mail.iap.Response
 
isTracing() - Method in class com.sun.mail.iap.Protocol
Is protocol tracing enabled?
isUnTagged() - Method in class com.sun.mail.iap.Response
 
Item - Interface in com.sun.mail.imap.protocol
A tagging interface for all IMAP data items.
items - Variable in class com.sun.mail.iap.Argument
 
items - Variable in class com.sun.mail.imap.IMAPMessage
A map of the extension FETCH items.
items - Variable in class com.sun.mail.imap.protocol.Status
 

K

KEEP_SEEN - Static variable in class com.sun.mail.imap.Rights.Right
Keep seen/unseen information across sessions - STORE \SEEN flag.
keepConnectionAlive(boolean) - Method in class com.sun.mail.imap.IMAPFolder
Issue a noop command for the connection if the connection has not been used in more than a second.
keyEquals(String) - Method in class com.sun.mail.imap.protocol.IMAPResponse
 

L

language - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
lines - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
list(String) - Method in class com.sun.mail.imap.DefaultFolder
 
list(String) - Method in class com.sun.mail.imap.IMAPFolder
List all subfolders matching the specified pattern.
list(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
LIST Command.
ListInfo - Class in com.sun.mail.imap.protocol
A LIST response.
ListInfo(IMAPResponse) - Constructor for class com.sun.mail.imap.protocol.ListInfo
 
listRights(String) - Method in class com.sun.mail.imap.IMAPFolder
Get all the rights that may be allowed to the given identifier.
listRights(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
LISTRIGHTS Command.
listSubscribed(String) - Method in class com.sun.mail.imap.DefaultFolder
 
listSubscribed(String) - Method in class com.sun.mail.imap.IMAPFolder
List all subscribed subfolders matching the specified pattern.
Literal - Interface in com.sun.mail.iap
An interface for objects that provide data dynamically for use in a literal protocol element.
LiteralException - Exception in com.sun.mail.iap
 
LiteralException(Response) - Constructor for exception com.sun.mail.iap.LiteralException
Constructs a LiteralException with the specified Response object.
logger - Variable in class com.sun.mail.iap.Protocol
 
logger - Variable in class com.sun.mail.imap.IMAPFolder
 
logger - Variable in class com.sun.mail.imap.IMAPStore
 
login(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
LOGIN Command.
logout() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
LOGOUT Command.
LOOKUP - Static variable in class com.sun.mail.imap.Rights.Right
Lookup - mailbox is visible to LIST/LSUB commands.
lsub(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
LSUB Command.

M

MailboxInfo - Class in com.sun.mail.imap.protocol
Information collected when opening a mailbox.
MailboxInfo(Response[]) - Constructor for class com.sun.mail.imap.protocol.MailboxInfo
Collect the information about this mailbox from the responses to a SELECT or EXAMINE.
match(Message) - Method in class com.sun.mail.imap.ModifiedSinceTerm
The match method.
match(Message) - Method in class com.sun.mail.imap.OlderTerm
The match method.
match(Message) - Method in class com.sun.mail.imap.YoungerTerm
The match method.
mbox - Variable in class com.sun.mail.imap.protocol.Status
 
md5 - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
MESSAGE - Static variable in class com.sun.mail.imap.IMAPFolder.FetchProfileItem
MESSAGE is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder.
messageCache - Variable in class com.sun.mail.imap.IMAPFolder
 
MessageCache - Class in com.sun.mail.imap
A cache of IMAPMessage objects along with the mapping from message number to IMAP sequence number.
messageCacheLock - Variable in class com.sun.mail.imap.IMAPFolder
 
messageid(MessageIDTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
messageId - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
MessageSet - Class in com.sun.mail.imap.protocol
This class holds the 'start' and 'end' for a range of messages.
MessageSet() - Constructor for class com.sun.mail.imap.protocol.MessageSet
 
MessageSet(int, int) - Constructor for class com.sun.mail.imap.protocol.MessageSet
 
MessageVanishedEvent - Class in com.sun.mail.imap
This class provides notification of messages that have been removed since the folder was last synchronized.
MessageVanishedEvent(Folder, long[]) - Constructor for class com.sun.mail.imap.MessageVanishedEvent
Constructor.
mode - Variable in class com.sun.mail.imap.protocol.MailboxInfo
Folder.READ_WRITE or Folder.READ_ONLY, set by IMAPProtocol.
modifiedSince(ModifiedSinceTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
Generate argument for ModifiedSinceTerm.
ModifiedSinceTerm - Class in com.sun.mail.imap
Find messages that have been modified since a given MODSEQ value.
ModifiedSinceTerm(long) - Constructor for class com.sun.mail.imap.ModifiedSinceTerm
Constructor.
modseq - Variable in class com.sun.mail.imap.protocol.MODSEQ
 
MODSEQ - Class in com.sun.mail.imap.protocol
This class represents the MODSEQ data item.
MODSEQ(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.MODSEQ
Constructor.
move(int, int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
MOVE command.
move(MessageSet[], String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
MOVE command.
moveMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
Move the specified messages from this folder, to the specified destination.
moveuid(int, int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
MOVE Command, return uid from COPYUID response code.
moveuid(MessageSet[], String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
MOVE Command, return uid from COPYUID response code.
moveUIDMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
Move the specified messages from this folder, to the specified destination.
msgno - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
msgno - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
msgno - Variable in class com.sun.mail.imap.protocol.FLAGS
 
msgno - Variable in class com.sun.mail.imap.protocol.INTERNALDATE
 
msgno - Variable in class com.sun.mail.imap.protocol.RFC822SIZE
 
myRights() - Method in class com.sun.mail.imap.IMAPFolder
Get the rights allowed to the currently authenticated user.
myRights(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
MYRIGHTS Command.

N

name - Variable in class com.sun.mail.imap.IMAPFolder
 
name - Variable in class com.sun.mail.imap.IMAPStore
 
name - Variable in class com.sun.mail.imap.protocol.ListInfo
 
namespace() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
NAMESPACE Command.
Namespace(Response) - Constructor for class com.sun.mail.imap.protocol.Namespaces.Namespace
Parse a namespace element out of the response.
Namespaces - Class in com.sun.mail.imap.protocol
This class and its inner class represent the response to the NAMESPACE command.
Namespaces(Response) - Constructor for class com.sun.mail.imap.protocol.Namespaces
Parse out all the namespaces.
Namespaces.Namespace - Class in com.sun.mail.imap.protocol
A single namespace entry.
newIMAPFolder(ListInfo) - Method in class com.sun.mail.imap.IMAPStore
Create an IMAPFolder object.
newIMAPFolder(String, char) - Method in class com.sun.mail.imap.IMAPStore
Create an IMAPFolder object.
newIMAPFolder(String, char, Boolean) - Method in class com.sun.mail.imap.IMAPStore
Create an IMAPFolder object.
newIMAPMessage(int) - Method in class com.sun.mail.imap.IMAPFolder
Create a new IMAPMessage object to represent the given message number.
newIMAPProtocol(String, int) - Method in class com.sun.mail.imap.IMAPStore
Create an IMAPProtocol object connected to the host and port.
NO - Static variable in class com.sun.mail.iap.Response
 
noop() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
The NOOP command.
not(NotTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
notifyResponseHandlers(Response[]) - Method in class com.sun.mail.iap.Protocol
Notify response handlers

O

OK - Static variable in class com.sun.mail.iap.Response
 
older(OlderTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
Generate argument for OlderTerm.
OlderTerm - Class in com.sun.mail.imap
Find messages that are older than a given interval (in seconds).
OlderTerm(int) - Constructor for class com.sun.mail.imap.OlderTerm
Constructor.
open(int) - Method in class com.sun.mail.imap.IMAPFolder
Open this folder in the given mode.
open(int, ResyncData) - Method in class com.sun.mail.imap.IMAPFolder
Open this folder in the given mode, with the given resynchronization data.
or(OrTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
otherUsers - Variable in class com.sun.mail.imap.protocol.Namespaces
The namespaces for other users.
out - Variable in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
 

P

parseCapabilities(Response) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Parse the capabilities from a CAPABILITY response or from a CAPABILITY response code attached to (e.g.) an OK response.
parseItem(FetchResponse) - Method in class com.sun.mail.imap.protocol.FetchItem
Parse the item into some kind of object appropriate for the item.
parseUIDSets(String) - Static method in class com.sun.mail.imap.protocol.UIDSet
Parse a string in IMAP UID range format.
ParsingException - Exception in com.sun.mail.iap
 
ParsingException() - Constructor for exception com.sun.mail.iap.ParsingException
Constructs an ParsingException with no detail message.
ParsingException(Response) - Constructor for exception com.sun.mail.iap.ParsingException
Constructs an ParsingException with the specified Response.
ParsingException(String) - Constructor for exception com.sun.mail.iap.ParsingException
Constructs an ParsingException with the specified detail message.
password - Variable in class com.sun.mail.imap.IMAPStore
 
peekBody(int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Fetch given BODY section, without marking the message as SEEN.
peekBody(int, String, int, int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Partial FETCH of given BODY section, without setting SEEN flag.
peekBody(int, String, int, int, ByteArray) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Partial FETCH of given BODY section, without setting SEEN flag.
peekByte() - Method in class com.sun.mail.iap.Response
 
permanentFlags - Variable in class com.sun.mail.imap.IMAPFolder
 
permanentFlags - Variable in class com.sun.mail.imap.protocol.MailboxInfo
The permanent flags.
personal - Variable in class com.sun.mail.imap.protocol.Namespaces
The personal namespaces.
pindex - Variable in class com.sun.mail.iap.Response
 
POST - Static variable in class com.sun.mail.imap.Rights.Right
Post - send mail to submission address for mailbox, not enforced by IMAP4 itself.
prefix - Variable in class com.sun.mail.iap.Protocol
 
prefix - Variable in class com.sun.mail.imap.protocol.Namespaces.Namespace
Prefix string for the namespace.
preLogin(IMAPProtocol) - Method in class com.sun.mail.imap.IMAPStore
This method is called after the connection is made and TLS is started (if needed), but before any authentication is attempted.
processGreeting(Response) - Method in class com.sun.mail.iap.Protocol
 
processGreeting(Response) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Check the greeting when first connecting; look for PREAUTH response.
processIdleResponse(Response) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Process a response returned by readIdleResponse().
props - Variable in class com.sun.mail.iap.Protocol
 
protocol - Variable in class com.sun.mail.imap.IMAPFolder
 
Protocol - Class in com.sun.mail.iap
General protocol handling code for IMAP-like protocols.
Protocol(InputStream, PrintStream, Properties, boolean) - Constructor for class com.sun.mail.iap.Protocol
Constructor for debugging.
Protocol(String, int, Properties, String, boolean, MailLogger) - Constructor for class com.sun.mail.iap.Protocol
Constructor.
protocolConnect(String, int, String, String) - Method in class com.sun.mail.imap.IMAPStore
Implementation of protocolConnect().
ProtocolException - Exception in com.sun.mail.iap
 
ProtocolException() - Constructor for exception com.sun.mail.iap.ProtocolException
Constructs a ProtocolException with no detail message.
ProtocolException(Response) - Constructor for exception com.sun.mail.iap.ProtocolException
Constructs a ProtocolException with the specified Response object.
ProtocolException(String) - Constructor for exception com.sun.mail.iap.ProtocolException
Constructs a ProtocolException with the specified detail message.
ProtocolException(String, Throwable) - Constructor for exception com.sun.mail.iap.ProtocolException
Constructs a ProtocolException with the specified detail message and cause.
proxyauth(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
PROXYAUTH Command.
proxyAuthUser - Variable in class com.sun.mail.imap.IMAPStore
 

Q

quote - Variable in class com.sun.mail.iap.Protocol
 

R

read() - Method in class com.sun.mail.imap.IMAPInputStream
Reads the next byte of data from this buffered input stream.
read(byte[]) - Method in class com.sun.mail.imap.IMAPInputStream
Reads up to b.length bytes of data from this input stream into an array of bytes.
read(byte[], int, int) - Method in class com.sun.mail.imap.IMAPInputStream
Reads up to len bytes of data from this input stream into the given buffer.
READ - Static variable in class com.sun.mail.imap.Rights.Right
Read - SELECT the mailbox, perform CHECK, FETCH, PARTIAL, SEARCH, COPY from mailbox
readAtom() - Method in class com.sun.mail.iap.Response
Extract an ATOM, starting at the current position.
readAtomString() - Method in class com.sun.mail.iap.Response
Extract an ASTRING, starting at the current position and return as a String.
readAtomStringList() - Method in class com.sun.mail.iap.Response
 
readByte() - Method in class com.sun.mail.iap.Response
Return the next byte from this Statement.
readByteArray() - Method in class com.sun.mail.iap.Response
Extract a NSTRING, starting at the current position.
readBytes() - Method in class com.sun.mail.iap.Response
Extract a NSTRING, starting at the current position.
readIdleResponse() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
While an IDLE command is in progress, read a response sent from the server.
readLong() - Method in class com.sun.mail.iap.Response
Extract a long number, starting at the current position.
readNumber() - Method in class com.sun.mail.iap.Response
Extract an integer, starting at the current position.
readResponse() - Method in class com.sun.mail.iap.Protocol
 
readResponse() - Method in class com.sun.mail.iap.ResponseInputStream
Read a Response from the InputStream.
readResponse() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Read a response from the server.
readResponse(ByteArray) - Method in class com.sun.mail.iap.ResponseInputStream
Read a Response from the InputStream.
readSimpleList() - Method in class com.sun.mail.imap.protocol.IMAPResponse
Read a list of space-separated "flag-extension" sequences and return the list as a array of Strings.
readString() - Method in class com.sun.mail.iap.Response
Extract a NSTRING, starting at the current position.
readString(char) - Method in class com.sun.mail.iap.Response
Read a string as an arbitrary sequence of characters, stopping at the delimiter Used to read part of a response code inside [].
readStringList() - Method in class com.sun.mail.iap.Response
 
receiveddate(DateTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
recent - Variable in class com.sun.mail.imap.protocol.MailboxInfo
The number of recent messages.
recent - Variable in class com.sun.mail.imap.protocol.Status
 
recipient(Message.RecipientType, String, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
ReferralException - Exception in com.sun.mail.imap
A special kind of AuthenticationFailedException that indicates that the reason for the failure was an IMAP REFERRAL in the response code.
ReferralException(String, String) - Constructor for exception com.sun.mail.imap.ReferralException
Constructs an ReferralException with the specified URL and text.
releaseProtocol(boolean) - Method in class com.sun.mail.imap.IMAPFolder
Release the protocol object.
releaseStoreProtocol(IMAPProtocol) - Method in class com.sun.mail.imap.IMAPFolder
Release the store protocol object.
remove(Rights) - Method in class com.sun.mail.imap.Rights
Remove all rights in the given Rights object from this Rights object.
remove(Rights.Right) - Method in class com.sun.mail.imap.Rights
Remove the specified right from this Rights object.
removeACL(String) - Method in class com.sun.mail.imap.IMAPFolder
Remove any access control list entry for the given identifier from the access control list for this folder.
removeExpungedMessages() - Method in class com.sun.mail.imap.MessageCache
Remove all the expunged messages from the array, returning a list of removed message objects.
removeExpungedMessages(Message[]) - Method in class com.sun.mail.imap.MessageCache
Remove expunged messages in msgs from the array, returning a list of removed message objects.
removeHeader(String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
removeHeader(String) - Method in class com.sun.mail.imap.IMAPMessage
 
removeResponseHandler(ResponseHandler) - Method in class com.sun.mail.iap.Protocol
Removed the specified response handler.
removeRights(ACL) - Method in class com.sun.mail.imap.IMAPFolder
Remove the rights specified in the ACL from the entry for the identifier specified in the ACL.
rename(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
RENAME Command.
renameTo(Folder) - Method in class com.sun.mail.imap.DefaultFolder
 
renameTo(Folder) - Method in class com.sun.mail.imap.IMAPFolder
Rename this folder.
replyTo - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
reset() - Method in class com.sun.mail.iap.Response
Reset pointer to beginning of response.
response - Variable in exception com.sun.mail.iap.ProtocolException
 
Response - Class in com.sun.mail.iap
This class represents a response obtained from the input stream of an IMAP server.
Response(Protocol) - Constructor for class com.sun.mail.iap.Response
Read a new Response from the given Protocol
Response(Response) - Constructor for class com.sun.mail.iap.Response
Copy constructor.
Response(String) - Constructor for class com.sun.mail.iap.Response
 
Response(String, boolean) - Constructor for class com.sun.mail.iap.Response
Constructor for testing.
RESPONSE - Static variable in class com.sun.mail.imap.IMAPStore
A special event type for a StoreEvent to indicate an IMAP response, if the mail.imap.enableimapevents property is set.
ResponseHandler - Interface in com.sun.mail.iap
This class
ResponseInputStream - Class in com.sun.mail.iap
Inputstream that is used to read a Response.
ResponseInputStream(InputStream) - Constructor for class com.sun.mail.iap.ResponseInputStream
Constructor.
responses - Variable in class com.sun.mail.imap.protocol.MailboxInfo
VANISHED or FETCH responses received while opening the mailbox.
resumeTracing() - Method in class com.sun.mail.iap.Protocol
Resume protocol tracing, if it was enabled to begin with.
ResyncData - Class in com.sun.mail.imap
Resynchronization data as defined by the QRESYNC extension (RFC 5162).
ResyncData(long, long) - Constructor for class com.sun.mail.imap.ResyncData
Used to report on changes since the specified modseq.
ResyncData(long, long, long[]) - Constructor for class com.sun.mail.imap.ResyncData
Used to limit the reported message changes to those with the specified UIDs.
ResyncData(long, long, long, long) - Constructor for class com.sun.mail.imap.ResyncData
Used to limit the reported message changes to those with UIDs in the specified range.
REVERSE - Static variable in class com.sun.mail.imap.SortTerm
Reverse the sort order of the following item.
RFC822DATA - Class in com.sun.mail.imap.protocol
The RFC822 response data item.
RFC822DATA(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.RFC822DATA
Constructor, header flag is false.
RFC822DATA(FetchResponse, boolean) - Constructor for class com.sun.mail.imap.protocol.RFC822DATA
Constructor, specifying header flag.
RFC822SIZE - Class in com.sun.mail.imap.protocol
An RFC822SIZE FETCH item.
RFC822SIZE(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.RFC822SIZE
Constructor.
Rights - Class in com.sun.mail.imap
The Rights class represents the set of rights for an authentication identifier (for instance, a user or a group).
Rights() - Constructor for class com.sun.mail.imap.Rights
Construct an empty Rights object.
Rights(Rights) - Constructor for class com.sun.mail.imap.Rights
Construct a Rights object initialized with the given rights.
Rights(Rights.Right) - Constructor for class com.sun.mail.imap.Rights
Construct a Rights object initialized with the given right.
Rights(String) - Constructor for class com.sun.mail.imap.Rights
Construct a Rights object initialized with the given rights.
Rights.Right - Class in com.sun.mail.imap
This inner class represents an individual right.

S

SaslAuthenticator - Interface in com.sun.mail.imap.protocol
Interface to make it easier to call IMAPSaslAuthenticator.
sasllogin(String[], String, String, String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
SASL-based login.
saslRealm - Variable in class com.sun.mail.imap.IMAPStore
 
search(MessageSet[], SearchTerm) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Issue the given search criterion on the specified message sets.
search(SearchTerm) - Method in class com.sun.mail.imap.IMAPFolder
Search whole folder for messages matching the given term.
search(SearchTerm) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Issue the given search criterion on all messages in this folder.
search(SearchTerm, Message[]) - Method in class com.sun.mail.imap.IMAPFolder
Search the folder for messages matching the given term.
searchCharsets - Variable in class com.sun.mail.imap.protocol.IMAPProtocol
 
searchSequence - Variable in class com.sun.mail.imap.protocol.IMAPProtocol
 
SearchSequence - Class in com.sun.mail.imap.protocol
This class traverses a search-tree and generates the corresponding IMAP search sequence.
SearchSequence() - Constructor for class com.sun.mail.imap.protocol.SearchSequence
Deprecated.
SearchSequence(IMAPProtocol) - Constructor for class com.sun.mail.imap.protocol.SearchSequence
Create a SearchSequence for this IMAPProtocol.
sectionId - Variable in class com.sun.mail.imap.IMAPMessage
 
select(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
SELECT Command.
select(String, ResyncData) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
SELECT Command with QRESYNC data.
sender - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
sentdate(DateTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
separator - Variable in class com.sun.mail.imap.IMAPFolder
 
separator - Variable in class com.sun.mail.imap.protocol.ListInfo
 
seqnum - Variable in class com.sun.mail.imap.protocol.MODSEQ
 
seqnum - Variable in class com.sun.mail.imap.protocol.UID
 
seqnumOf(int) - Method in class com.sun.mail.imap.MessageCache
Return the sequence number for the given message number.
setACL(String, char, ACL) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
SETACL Command.
setCapabilities(Response) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
If the response contains a CAPABILITY response code, extract it and save the capabilities.
setContent(Multipart) - Method in class com.sun.mail.imap.IMAPBodyPart
 
setContent(Object, String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
setContentID(String) - Method in class com.sun.mail.imap.IMAPMessage
 
setContentLanguage(String[]) - Method in class com.sun.mail.imap.IMAPMessage
 
setContentMD5(String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
setContentMD5(String) - Method in class com.sun.mail.imap.IMAPMessage
 
setCount(int) - Method in class com.sun.mail.iap.ByteArray
Set the count of bytes.
setDataHandler(DataHandler) - Method in class com.sun.mail.imap.IMAPBodyPart
 
setDataHandler(DataHandler) - Method in class com.sun.mail.imap.IMAPMessage
 
setDescription(String, String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
setDescription(String, String) - Method in class com.sun.mail.imap.IMAPMessage
 
setDisposition(String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
setDisposition(String) - Method in class com.sun.mail.imap.IMAPMessage
 
setExpunged(boolean) - Method in class com.sun.mail.imap.IMAPMessage
 
setFileName(String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
setFileName(String) - Method in class com.sun.mail.imap.IMAPMessage
 
setFlags(int[], Flags, boolean) - Method in class com.sun.mail.imap.IMAPFolder
Set the specified flags for the given array of message numbers.
setFlags(int, int, Flags, boolean) - Method in class com.sun.mail.imap.IMAPFolder
Set the specified flags for the given range of message numbers.
setFlags(Flags, boolean) - Method in class com.sun.mail.imap.IMAPMessage
Set/Unset the given flags in this message.
setFlags(Flags, boolean) - Method in class com.sun.mail.imap.IMAPNestedMessage
 
setFlags(Message[], Flags, boolean) - Method in class com.sun.mail.imap.IMAPFolder
Set the specified flags for the given array of messages.
setFrom(Address) - Method in class com.sun.mail.imap.IMAPMessage
 
setHeader(String, String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
setHeader(String, String) - Method in class com.sun.mail.imap.IMAPMessage
 
setMessageNumber(int) - Method in class com.sun.mail.imap.IMAPMessage
Wrapper around the protected method Message.setMessageNumber() to make that method accessible to IMAPFolder.
setPassword(String) - Method in class com.sun.mail.imap.IMAPStore
Set the password that will be used for subsequent connections after this Store is first connected (for example, when creating a connection to open a Folder).
setPeek(boolean) - Method in class com.sun.mail.imap.IMAPMessage
Set whether or not to use the PEEK variant of FETCH when fetching message content.
setProxyAuthUser(String) - Method in class com.sun.mail.imap.IMAPStore
Set the user name to be used with the PROXYAUTH command.
setQuota(Quota) - Method in class com.sun.mail.imap.IMAPFolder
Set the quotas for the quotaroot specified in the quota argument.
setQuota(Quota) - Method in class com.sun.mail.imap.IMAPStore
Set the quotas for the quota root specified in the quota argument.
setQuota(Quota) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
SETQUOTA Command.
setRecipients(Message.RecipientType, Address[]) - Method in class com.sun.mail.imap.IMAPMessage
 
setReplyTo(Address[]) - Method in class com.sun.mail.imap.IMAPMessage
 
setRights(Rights) - Method in class com.sun.mail.imap.ACL
Set the rights associated with this ACL entry.
setSender(Address) - Method in class com.sun.mail.imap.IMAPMessage
 
setSentDate(Date) - Method in class com.sun.mail.imap.IMAPMessage
 
setSubject(String, String) - Method in class com.sun.mail.imap.IMAPMessage
 
setSubscribed(boolean) - Method in class com.sun.mail.imap.IMAPFolder
Subscribe/Unsubscribe this folder.
setUID(long) - Method in class com.sun.mail.imap.IMAPMessage
 
setUsername(String) - Method in class com.sun.mail.imap.IMAPStore
Set the user name that will be used for subsequent connections after this Store is first connected (for example, when creating a connection to open a Folder).
shared - Variable in class com.sun.mail.imap.protocol.Namespaces
The shared namespace.
simpleCommand(String, Argument) - Method in class com.sun.mail.iap.Protocol
Convenience routine to handle simple IAP commands that do not have responses specific to that command.
size - Variable in class com.sun.mail.iap.Response
 
size - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
size - Variable in class com.sun.mail.imap.protocol.RFC822SIZE
 
size() - Method in interface com.sun.mail.iap.Literal
Return the size of the data.
size() - Method in class com.sun.mail.imap.MessageCache
Size of cache.
size() - Method in class com.sun.mail.imap.protocol.MessageSet
Count the total number of elements in a MessageSet
size() - Method in class com.sun.mail.imap.protocol.UIDSet
Count the total number of elements in a UIDSet
size(MessageSet[]) - Static method in class com.sun.mail.imap.protocol.MessageSet
 
size(UIDSet[]) - Static method in class com.sun.mail.imap.protocol.UIDSet
Count the total number of elements in an array of UIDSets.
size(SizeTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
SIZE - Static variable in class com.sun.mail.imap.IMAPFolder.FetchProfileItem
Deprecated. 
SIZE - Static variable in class com.sun.mail.imap.SortTerm
Sort by the message size.
skip(int) - Method in class com.sun.mail.iap.Response
 
skipSpaces() - Method in class com.sun.mail.iap.Response
 
skipToken() - Method in class com.sun.mail.iap.Response
Skip to the next space, for use in error recovery while parsing.
sort(SortTerm[], SearchTerm) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Sort messages in the folder according to the specified sort criteria.
SortTerm - Class in com.sun.mail.imap
A particular sort criteria, as defined by RFC 5256.
src - Variable in class com.sun.mail.imap.CopyUID
 
start - Variable in class com.sun.mail.imap.protocol.MessageSet
 
start - Variable in class com.sun.mail.imap.protocol.UIDSet
 
startCompression(String) - Method in class com.sun.mail.iap.Protocol
Start compression on the current connection.
started - Variable in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
 
startTLS() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
STARTTLS Command.
startTLS(String) - Method in class com.sun.mail.iap.Protocol
Start TLS on the current connection.
status(String, String[]) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
STATUS Command.
Status - Class in com.sun.mail.imap.protocol
STATUS response.
Status(Response) - Constructor for class com.sun.mail.imap.protocol.Status
 
stop() - Method in class com.sun.mail.imap.IdleManager
Stop the IdleManager.
storeFlags(int, int, Flags, boolean) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
 
storeFlags(int, Flags, boolean) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Set the specified flags on this message.
storeFlags(MessageSet[], Flags, boolean) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
 
subject - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
subject(SubjectTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
SUBJECT - Static variable in class com.sun.mail.imap.SortTerm
Sort by the base subject text.
subscribe(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
SUBSCRIBE Command.
subtype - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
supportsNonSyncLiterals() - Method in class com.sun.mail.iap.Protocol
Returns whether this Protocol supports non-synchronizing literals Default is false.
supportsNonSyncLiterals() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Returns whether this Protocol supports non-synchronizing literals.
supportsUtf8() - Method in class com.sun.mail.iap.Protocol
Does the server support UTF-8? This implementation returns false.
supportsUtf8() - Method in class com.sun.mail.iap.Response
Does the server support UTF-8?
supportsUtf8() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Does the server support UTF-8?
suspendTracing() - Method in class com.sun.mail.iap.Protocol
Temporarily turn off protocol tracing, e.g., to prevent tracing the authentication sequence, including the password.
SYNTHETIC - Static variable in class com.sun.mail.iap.Response
 

T

tag - Variable in class com.sun.mail.iap.Response
 
TAG_MASK - Static variable in class com.sun.mail.iap.Response
 
TAGGED - Static variable in class com.sun.mail.iap.Response
 
test(IMAPMessage) - Method in class com.sun.mail.imap.IMAPMessage.FetchProfileCondition
Return true if we NEED to fetch the requested information for the specified message.
test(IMAPMessage) - Method in interface com.sun.mail.imap.Utility.Condition
 
throwClosedException(ConnectionException) - Method in class com.sun.mail.imap.IMAPFolder
Throw the appropriate 'closed' exception.
to - Variable in class com.sun.mail.imap.protocol.ENVELOPE
 
TO - Static variable in class com.sun.mail.imap.SortTerm
Sort by email address of first To recipient.
toArray(UIDSet[]) - Static method in class com.sun.mail.imap.protocol.UIDSet
Convert an array of UIDSets into a array of long UIDs.
toArray(UIDSet[], long) - Static method in class com.sun.mail.imap.protocol.UIDSet
Convert an array of UIDSets into a array of long UIDs.
toByteArrayInputStream() - Method in class com.sun.mail.iap.ByteArray
Returns a ByteArrayInputStream.
toIMAPDate(Date) - Method in class com.sun.mail.imap.protocol.SearchSequence
 
toMessageSet(Message[], Utility.Condition) - Static method in class com.sun.mail.imap.Utility
Run thru the given array of messages, apply the given Condition on each message and generate sets of contiguous sequence-numbers for the successful messages.
toMessageSetSorted(Message[], Utility.Condition) - Static method in class com.sun.mail.imap.Utility
Sort (a copy of) the given array of messages and then run thru the sorted array of messages, apply the given Condition on each message and generate sets of contiguous sequence-numbers for the successful messages.
toString() - Method in class com.sun.mail.iap.Response
 
toString() - Method in class com.sun.mail.imap.Rights.Right
 
toString() - Method in class com.sun.mail.imap.Rights
 
toString() - Method in class com.sun.mail.imap.SortTerm
 
toString(MessageSet[]) - Static method in class com.sun.mail.imap.protocol.MessageSet
Convert an array of MessageSets into an IMAP sequence range
toString(UIDSet[]) - Static method in class com.sun.mail.imap.protocol.UIDSet
Convert an array of UIDSets into an IMAP sequence range.
total - Variable in class com.sun.mail.imap.protocol.MailboxInfo
The total number of messages.
total - Variable in class com.sun.mail.imap.protocol.Status
 
toUIDSet(Message[]) - Static method in class com.sun.mail.imap.Utility
Return UIDSets for the messages.
traceLogger - Variable in class com.sun.mail.iap.Protocol
 
type - Variable in class com.sun.mail.iap.Response
 
type - Variable in class com.sun.mail.imap.IMAPFolder
 
type - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
 
TYPE_MASK - Static variable in class com.sun.mail.iap.Response
 

U

uid - Variable in class com.sun.mail.imap.AppendUID
 
uid - Variable in class com.sun.mail.imap.protocol.UID
 
UID - Class in com.sun.mail.imap.protocol
This class represents the UID data item.
UID(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.UID
Constructor.
uidexpunge(UIDSet[]) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
UID EXPUNGE Command.
uidfetchChangedSince(long, long, long) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Get the sequence numbers for messages changed since the given modseq and with UIDs ranging from start till end.
uidnext - Variable in class com.sun.mail.imap.protocol.MailboxInfo
The next UID value to be assigned.
uidnext - Variable in class com.sun.mail.imap.protocol.Status
 
uidNotSticky - Variable in class com.sun.mail.imap.protocol.MailboxInfo
UIDs are not sticky.
UIDSet - Class in com.sun.mail.imap.protocol
This class holds the 'start' and 'end' for a range of UIDs.
UIDSet() - Constructor for class com.sun.mail.imap.protocol.UIDSet
 
UIDSet(long, long) - Constructor for class com.sun.mail.imap.protocol.UIDSet
 
uidTable - Variable in class com.sun.mail.imap.IMAPFolder
 
uidvalidity - Variable in class com.sun.mail.imap.AppendUID
 
uidvalidity - Variable in class com.sun.mail.imap.CopyUID
 
uidvalidity - Variable in class com.sun.mail.imap.protocol.MailboxInfo
The UIDVALIDITY.
uidvalidity - Variable in class com.sun.mail.imap.protocol.Status
 
unauthenticate() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
UNAUTHENTICATE Command.
UNCHANGED - Static variable in class com.sun.mail.imap.protocol.ListInfo
 
UNKNOWN_SEPARATOR - Static variable in class com.sun.mail.imap.IMAPFolder
 
unseen - Variable in class com.sun.mail.imap.protocol.Status
 
unselect() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
UNSELECT Command.
unsubscribe(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
UNSUBSCRIBE Command.
UNTAGGED - Static variable in class com.sun.mail.iap.Response
 
updateHeaders() - Method in class com.sun.mail.imap.IMAPBodyPart
 
user - Variable in class com.sun.mail.imap.IMAPStore
 
utf8 - Variable in class com.sun.mail.iap.Response
 
Utility - Class in com.sun.mail.imap
Holder for some static utility methods.
Utility.Condition - Interface in com.sun.mail.imap
This interface defines the test to be executed in toMessageSet().

W

watch(Folder) - Method in class com.sun.mail.imap.IdleManager
Watch the Folder for new messages and other events using the IMAP IDLE command.
write(int) - Method in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
 
write(Protocol) - Method in class com.sun.mail.iap.Argument
 
WRITE - Static variable in class com.sun.mail.imap.Rights.Right
Write - STORE flags other than \SEEN and \DELETED.
writeArgument(Argument) - Method in class com.sun.mail.iap.Argument
Write out as parenthesised list.
writeAtom(String) - Method in class com.sun.mail.iap.Argument
Write out given string as an Atom.
writeBytes(byte[]) - Method in class com.sun.mail.iap.Argument
Write out given byte[] as a Literal.
writeBytes(Literal) - Method in class com.sun.mail.iap.Argument
Write out given data as a literal.
writeBytes(ByteArrayOutputStream) - Method in class com.sun.mail.iap.Argument
Write out given ByteArrayOutputStream as a Literal.
writeCommand(String, Argument) - Method in class com.sun.mail.iap.Protocol
 
writeMailboxName(Argument, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
Encode a mailbox name appropriately depending on whether or not the server supports UTF-8, and add the encoded name to the Argument.
writeNString(String) - Method in class com.sun.mail.iap.Argument
Write out given string as an NSTRING, depending on the type of the characters inside the string.
writeNString(String, String) - Method in class com.sun.mail.iap.Argument
Convert the given string into bytes in the specified charset, and write the bytes out as an NSTRING
writeNString(String, Charset) - Method in class com.sun.mail.iap.Argument
Convert the given string into bytes in the specified charset, and write the bytes out as an NSTRING
writeNumber(int) - Method in class com.sun.mail.iap.Argument
Write out number.
writeNumber(long) - Method in class com.sun.mail.iap.Argument
Write out number.
writeString(String) - Method in class com.sun.mail.iap.Argument
Write out given string as an ASTRING, depending on the type of the characters inside the string.
writeString(String, String) - Method in class com.sun.mail.iap.Argument
Convert the given string into bytes in the specified charset, and write the bytes out as an ASTRING
writeString(String, Charset) - Method in class com.sun.mail.iap.Argument
Convert the given string into bytes in the specified charset, and write the bytes out as an ASTRING
writeTo(OutputStream) - Method in interface com.sun.mail.iap.Literal
Write the data to the OutputStream.
writeTo(OutputStream) - Method in class com.sun.mail.imap.IMAPMessage
Write out the bytes into the given OutputStream.

Y

younger(YoungerTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
Generate argument for YoungerTerm.
YoungerTerm - Class in com.sun.mail.imap
Find messages that are younger than a given interval (in seconds).
YoungerTerm(int) - Constructor for class com.sun.mail.imap.YoungerTerm
Constructor.
A B C D E F G H I K L M N O P Q R S T U W Y 
All Classes All Packages