Package | Description |
---|---|
com.sun.mail.iap | |
com.sun.mail.imap.protocol |
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(String s)
Write out given string as an Atom.
|
Argument |
Argument.writeBytes(byte[] b)
Write out given byte[] as a Literal.
|
Argument |
Argument.writeBytes(ByteArrayOutputStream b)
Write out given ByteArrayOutputStream as a Literal.
|
Argument |
Argument.writeBytes(Literal b)
Write out given data as a literal.
|
Argument |
Argument.writeNString(String s)
Write out given string as an NSTRING, depending on the type
of the characters inside the string.
|
Argument |
Argument.writeNString(String s,
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(String s)
Write out given string as an ASTRING, depending on the type
of the characters inside the string.
|
Argument |
Argument.writeString(String s,
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(String command,
Argument args)
Send a command to the server.
|
void |
Protocol.simpleCommand(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.
|
String |
Protocol.writeCommand(String command,
Argument args) |
Modifier and Type | Method and Description |
---|---|
protected Argument |
SearchSequence.and(AndTerm term,
String charset) |
protected Argument |
SearchSequence.body(BodyTerm term,
String charset) |
protected Argument |
SearchSequence.flag(FlagTerm term) |
protected Argument |
SearchSequence.from(String address,
String charset) |
Argument |
SearchSequence.generateSequence(SearchTerm term,
String charset)
Generate the IMAP search sequence for the given search expression.
|
protected Argument |
SearchSequence.header(HeaderTerm term,
String charset) |
protected Argument |
SearchSequence.messageid(MessageIDTerm term,
String charset) |
protected Argument |
SearchSequence.modifiedSince(ModifiedSinceTerm term)
Generate argument for ModifiedSinceTerm.
|
protected Argument |
SearchSequence.not(NotTerm term,
String charset) |
protected Argument |
SearchSequence.older(OlderTerm term)
Generate argument for OlderTerm.
|
protected Argument |
SearchSequence.or(OrTerm term,
String charset) |
protected Argument |
SearchSequence.receiveddate(DateTerm term) |
protected Argument |
SearchSequence.recipient(Message.RecipientType type,
String address,
String charset) |
protected Argument |
SearchSequence.sentdate(DateTerm term) |
protected Argument |
SearchSequence.size(SizeTerm term) |
protected Argument |
SearchSequence.subject(SubjectTerm term,
String charset) |
protected Argument |
SearchSequence.younger(YoungerTerm term)
Generate argument for YoungerTerm.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.