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(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.
append(Argument) - Method in class com.sun.mail.iap.Argument
Append the given Argument to this Argument.
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 - 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.
attributes - Variable in class com.sun.mail.imap.IMAPFolder
 
authorizationID - Variable in class com.sun.mail.imap.IMAPStore
 
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
 

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.
bs - Variable in class com.sun.mail.imap.IMAPMessage
 
buffer - Variable in class com.sun.mail.iap.Response
 
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

CC - Static variable in class com.sun.mail.imap.SortTerm
Sort by email address of first Cc recipient.
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(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 - package com.sun.mail.imap
An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.
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.
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
 
copyMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
Copy the specified messages from this folder, to the specified destination.
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.
create(int) - Method in class com.sun.mail.imap.IMAPFolder
Create this folder, with the specified type.
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.

D

DATE - Static variable in class com.sun.mail.imap.SortTerm
Sort by sent date and time.
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 - Static variable in class com.sun.mail.imap.Rights.Right
Delete - STORE \DELETED flag, perform EXPUNGE.
disconnect() - Method in class com.sun.mail.iap.Protocol
Disconnect.
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
 
doOptionalCommand(String, IMAPFolder.ProtocolCommand) - Method in class com.sun.mail.imap.IMAPFolder
 
doProtocolCommand(IMAPFolder.ProtocolCommand) - Method in class com.sun.mail.imap.IMAPFolder
 
dst - Variable in class com.sun.mail.imap.CopyUID
 

E

envelope - Variable in class com.sun.mail.imap.IMAPMessage
 
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
 
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(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(Message[], FetchProfile) - Method in class com.sun.mail.imap.IMAPFolder
Prefetch attributes, based on the given FetchProfile.
fetchItem(FetchItem) - Method in class com.sun.mail.imap.IMAPMessage
Fetch an individual item for the current 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
 
finalize() - Method in class com.sun.mail.iap.Protocol
Finalizer.
finalize() - Method in class com.sun.mail.imap.IMAPStore
 
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.
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

getACL() - Method in class com.sun.mail.imap.IMAPFolder
Get the access control list entries for this folder.
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
 
getBytes() - Method in class com.sun.mail.iap.ByteArray
Returns the internal byte array.
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.
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.
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.
getFetchBlockSize() - Method in class com.sun.mail.imap.IMAPMessage
 
getFetchBlockSize() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
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(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.
getFolder(URLName) - 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(FetchItem) - Method in class com.sun.mail.imap.IMAPMessage
Return the data associated with the FetchItem.
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.
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.
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.
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.
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.
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.
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.
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.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

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.
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.
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.
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?
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.
host - Variable in class com.sun.mail.iap.Protocol
 
host - Variable in class com.sun.mail.imap.IMAPStore
 

I

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_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.
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.
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
IMAPProvider - Class in com.sun.mail.imap
The IMAP protocol provider.
IMAPProvider() - Constructor for class com.sun.mail.imap.IMAPProvider
 
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.
index - Variable in class com.sun.mail.iap.Response
 
INSERT - Static variable in class com.sun.mail.imap.Rights.Right
Insert - perform APPEND, COPY into mailbox.
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.
invalidateHeaders() - Method in class com.sun.mail.imap.IMAPMessage
Invalidate cached header and envelope information for this message.
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
 
isExpunged() - Method in class com.sun.mail.imap.IMAPNestedMessage
 
isNamespace - Variable in class com.sun.mail.imap.IMAPFolder
 
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
 
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.
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
 
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.

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.

L

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.
listRights(String) - Method in class com.sun.mail.imap.IMAPFolder
Get all the rights that may be allowed to the given identifier.
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
 
LOOKUP - Static variable in class com.sun.mail.imap.Rights.Right
Lookup - mailbox is visible to LIST/LSUB commands.

M

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.
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
 
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.
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.
moveMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
Move the specified messages from this folder, to the specified destination.
moveUIDMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
Move the specified messages from this folder, to the specified destination.
myRights() - Method in class com.sun.mail.imap.IMAPFolder
Get the rights allowed to the currently authenticated user.

N

name - Variable in class com.sun.mail.imap.IMAPFolder
 
name - Variable in class com.sun.mail.imap.IMAPStore
 
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
 
notifyResponseHandlers(Response[]) - Method in class com.sun.mail.iap.Protocol
Notify response handlers

O

OK - Static variable in class com.sun.mail.iap.Response
 
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.

P

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
 
peekByte() - Method in class com.sun.mail.iap.Response
 
permanentFlags - Variable in class com.sun.mail.imap.IMAPFolder
 
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
 
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
 
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.
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.
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(ByteArray) - Method in class com.sun.mail.iap.ResponseInputStream
Read a Response from the InputStream.
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
 
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.
renameTo(Folder) - Method in class com.sun.mail.imap.DefaultFolder
 
renameTo(Folder) - Method in class com.sun.mail.imap.IMAPFolder
Rename this folder.
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.
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.
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

saslRealm - Variable in class com.sun.mail.imap.IMAPStore
 
search(SearchTerm) - Method in class com.sun.mail.imap.IMAPFolder
Search whole folder for messages matching the given term.
search(SearchTerm, Message[]) - Method in class com.sun.mail.imap.IMAPFolder
Search the folder for messages matching the given term.
sectionId - Variable in class com.sun.mail.imap.IMAPMessage
 
separator - Variable in class com.sun.mail.imap.IMAPFolder
 
seqnumOf(int) - Method in class com.sun.mail.imap.MessageCache
Return the sequence number for the given message number.
setContent(Object, String) - Method in class com.sun.mail.imap.IMAPBodyPart
 
setContent(Multipart) - 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.
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).
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() - 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 - 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.
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
 
startCompression(String) - Method in class com.sun.mail.iap.Protocol
Start compression on the current connection.
startTLS(String) - Method in class com.sun.mail.iap.Protocol
Start TLS on the current connection.
stop() - Method in class com.sun.mail.imap.IdleManager
Stop the IdleManager.
SUBJECT - Static variable in class com.sun.mail.imap.SortTerm
Sort by the base subject text.
supportsNonSyncLiterals() - Method in class com.sun.mail.iap.Protocol
Returns whether this Protocol supports non-synchronizing literals Default is false.
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?
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 - Static variable in class com.sun.mail.imap.SortTerm
Sort by email address of first To recipient.
toByteArrayInputStream() - Method in class com.sun.mail.iap.ByteArray
Returns a ByteArrayInputStream.
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
 
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_MASK - Static variable in class com.sun.mail.iap.Response
 

U

uid - Variable in class com.sun.mail.imap.AppendUID
 
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
 
UNKNOWN_SEPARATOR - Static variable in class com.sun.mail.imap.IMAPFolder
 
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(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
 
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

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
Skip navigation links