Package | Description |
---|---|
com.sun.mail.gimap.protocol | |
com.sun.mail.iap |
This package includes internal IMAP support classes and
SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
|
com.sun.mail.imap.protocol |
This package includes internal IMAP support classes and
SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
|
Modifier and Type | Method and Description |
---|---|
private Argument |
GmailProtocol.createLabelList(java.lang.String[] labels) |
Argument |
GmailSearchSequence.generateSequence(SearchTerm term,
java.lang.String charset) |
protected Argument |
GmailSearchSequence.gmailMsgidSearch(GmailMsgIdTerm term) |
protected Argument |
GmailSearchSequence.gmailRawSearch(GmailRawSearchTerm term,
java.lang.String charset) |
protected Argument |
GmailSearchSequence.gmailThridSearch(GmailThrIdTerm term) |
Modifier and Type | Method and Description |
---|---|
Argument |
Argument.append(Argument arg)
Append the given Argument to this Argument.
|
Argument |
Argument.writeArgument(Argument c)
Write out as parenthesised list.
|
Argument |
Argument.writeAtom(java.lang.String s)
Write out given string as an Atom.
|
Argument |
Argument.writeBytes(byte[] b)
Write out given byte[] as a Literal.
|
Argument |
Argument.writeBytes(java.io.ByteArrayOutputStream b)
Write out given ByteArrayOutputStream as a Literal.
|
Argument |
Argument.writeBytes(Literal b)
Write out given data as a literal.
|
Argument |
Argument.writeNString(java.lang.String s)
Write out given string as an NSTRING, depending on the type
of the characters inside the string.
|
Argument |
Argument.writeNString(java.lang.String s,
java.nio.charset.Charset charset)
Convert the given string into bytes in the specified
charset, and write the bytes out as an NSTRING
|
Argument |
Argument.writeNString(java.lang.String s,
java.lang.String charset)
Convert the given string into bytes in the specified
charset, and write the bytes out as an NSTRING
|
Argument |
Argument.writeNumber(int i)
Write out number.
|
Argument |
Argument.writeNumber(long i)
Write out number.
|
Argument |
Argument.writeString(java.lang.String s)
Write out given string as an ASTRING, depending on the type
of the characters inside the string.
|
Argument |
Argument.writeString(java.lang.String s,
java.nio.charset.Charset charset)
Convert the given string into bytes in the specified
charset, and write the bytes out as an ASTRING
|
Argument |
Argument.writeString(java.lang.String s,
java.lang.String charset)
Convert the given string into bytes in the specified
charset, and write the bytes out as an ASTRING
|
Modifier and Type | Method and Description |
---|---|
Argument |
Argument.append(Argument arg)
Append the given Argument to this Argument.
|
Response[] |
Protocol.command(java.lang.String command,
Argument args)
Send a command to the server.
|
void |
Protocol.simpleCommand(java.lang.String cmd,
Argument args)
Convenience routine to handle simple IAP commands
that do not have responses specific to that command.
|
Argument |
Argument.writeArgument(Argument c)
Write out as parenthesised list.
|
java.lang.String |
Protocol.writeCommand(java.lang.String command,
Argument args) |
Modifier and Type | Method and Description |
---|---|
protected Argument |
SearchSequence.and(AndTerm term,
java.lang.String charset) |
protected Argument |
SearchSequence.body(BodyTerm term,
java.lang.String charset) |
protected Argument |
SearchSequence.flag(FlagTerm term) |
protected Argument |
SearchSequence.from(java.lang.String address,
java.lang.String charset) |
Argument |
SearchSequence.generateSequence(SearchTerm term,
java.lang.String charset)
Generate the IMAP search sequence for the given search expression.
|
(package private) static Argument |
ID.getArgumentList(java.util.Map<java.lang.String,java.lang.String> clientParams)
Convert the client parameters into an argument list for the ID command.
|
protected Argument |
SearchSequence.header(HeaderTerm term,
java.lang.String charset) |
protected Argument |
SearchSequence.messageid(MessageIDTerm term,
java.lang.String charset) |
protected Argument |
SearchSequence.modifiedSince(ModifiedSinceTerm term)
Generate argument for ModifiedSinceTerm.
|
protected Argument |
SearchSequence.not(NotTerm term,
java.lang.String charset) |
protected Argument |
SearchSequence.older(OlderTerm term)
Generate argument for OlderTerm.
|
protected Argument |
SearchSequence.or(OrTerm term,
java.lang.String charset) |
protected Argument |
SearchSequence.receiveddate(DateTerm term) |
protected Argument |
SearchSequence.recipient(Message.RecipientType type,
java.lang.String address,
java.lang.String charset) |
private static Argument |
IMAPProtocol.resyncArgs(ResyncData rd)
Generate a QRESYNC argument list based on the ResyncData.
|
protected Argument |
SearchSequence.sentdate(DateTerm term) |
protected Argument |
SearchSequence.size(SizeTerm term) |
protected Argument |
SearchSequence.subject(SubjectTerm term,
java.lang.String charset) |
protected Argument |
SearchSequence.younger(YoungerTerm term)
Generate argument for YoungerTerm.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IMAPProtocol.writeMailboxName(Argument args,
java.lang.String name)
Encode a mailbox name appropriately depending on whether or not
the server supports UTF-8, and add the encoded name to the
Argument.
|