A C D E G I M O P R S W

A

addBody(String) - Method in class de.trantor.mail.demo.j2me.ReadScreen
 
addBodyLine(String) - Method in class de.trantor.mail.Message
Adds a line to the message body, returning its index.
addHeaderLine(String) - Method in class de.trantor.mail.Message
Adds a new line to the end of the message's header, returning its index.
addImage(Image) - Method in class de.trantor.mail.demo.j2me.ReadScreen
 
addRecipient(String) - Method in class de.trantor.mail.Envelope
Adds a recipient to the message's envelope.

C

CANCEL - Static variable in class de.trantor.mail.demo.j2me.WriteScreen
 
clear() - Method in class de.trantor.mail.demo.j2me.WriteScreen
 
clearBody() - Method in class de.trantor.mail.demo.j2me.ReadScreen
 
close() - Method in class de.trantor.mail.InboxClient
Ends the mailbox session.
close() - Method in class de.trantor.mail.Pop3Client
 
close() - Method in class de.trantor.mail.ImapClient
 
close() - Method in class de.trantor.mail.SmtpClient
Ends the SMTP session.
close() - Method in class de.trantor.mail.Connection
Closes a connection.
close() - Method in class de.trantor.mail.j2me.ConnectionImpl
Closes the connection.
close() - Method in class de.trantor.mail.j2se.ConnectionImpl
Closes the connection.
commandAction(Command, Displayable) - Method in class de.trantor.mail.demo.j2me.MailMIDlet
 
connected() - Method in class de.trantor.mail.InboxClient
Returns true, if the client is currently connected to an SMTP server.
connected() - Method in class de.trantor.mail.SmtpClient
Returns true, if the client is currently connected to an SMTP server.
connected() - Method in class de.trantor.mail.Connection
Queries the current status of the connection.
connection - Variable in class de.trantor.mail.InboxClient
Holds the socket used for communication with the server.
Connection - class de.trantor.mail.Connection.
Is the abstract base class for socket connections used inside the SMTP, POP3 and IMAP protocols of the mail package.
Connection() - Constructor for class de.trantor.mail.Connection
 
ConnectionImpl - class de.trantor.mail.j2me.ConnectionImpl.
Provides a concrete descendent of the abstract "Connection" class that can be used in the J2ME environment.
ConnectionImpl - class de.trantor.mail.j2se.ConnectionImpl.
Provides a concrete descendent of the abstract "Connection" class that can be used in the J2SE environment.
ConnectionImpl() - Constructor for class de.trantor.mail.j2me.ConnectionImpl
 
ConnectionImpl() - Constructor for class de.trantor.mail.j2se.ConnectionImpl
 

D

de.trantor.mail - package de.trantor.mail
This package provides a lightweight, J2ME- (and also J2SE-) compatible package for representing Internet e-mail messages and for sending and receiving them using the SMTP and POP3 protocols.
de.trantor.mail.demo.j2me - package de.trantor.mail.demo.j2me
This packages shows how to use the Mail4ME package in a J2ME environment.
de.trantor.mail.demo.j2se - package de.trantor.mail.demo.j2se
This packages shows how to use the Mail4ME package in a J2SE environment.
de.trantor.mail.j2me - package de.trantor.mail.j2me
This package contains those parts of the mail package that are specific to the Java 2 Micro Edition.
de.trantor.mail.j2se - package de.trantor.mail.j2se
This package contains those parts of the mail package that are specific to the Java 2 Standard Edition.
DELETE - Static variable in class de.trantor.mail.demo.j2me.InboxScreen
 
DemoRead - class de.trantor.mail.demo.j2se.DemoRead.
A simple command-line application to demonstrate reading messages from a POP3 server.
DemoRead() - Constructor for class de.trantor.mail.demo.j2se.DemoRead
 
DemoSend - class de.trantor.mail.demo.j2se.DemoSend.
A simple command-line application to demonstrate sending messages through an SMTP server.
DemoSend() - Constructor for class de.trantor.mail.demo.j2se.DemoSend
 
destroyApp(boolean) - Method in class de.trantor.mail.demo.j2me.MailMIDlet
 

E

Envelope - class de.trantor.mail.Envelope.
Represents an envelope used for sending a message via the SMTP protocol.
Envelope(Message, boolean) - Constructor for class de.trantor.mail.Envelope
Creates a new envelope for a given message.
EXIT - Static variable in class de.trantor.mail.demo.j2me.InboxScreen
 
EXIT - Static variable in class de.trantor.mail.demo.j2me.SetupScreen
 

G

getAddress() - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
getAllHeaderValues(String) - Method in class de.trantor.mail.Message
Returns the values of all occurences of the given header field in the this message.
getBody() - Method in class de.trantor.mail.demo.j2me.WriteScreen
 
getBodyBytes() - Method in class de.trantor.mail.MimeDecoder
Returns the binary data contained in this MIME part.
getBodyLine(int) - Method in class de.trantor.mail.MimeDecoder
Returns a line of this MIME part's body its index.
getBodyLine(int) - Method in class de.trantor.mail.Message
Returns a line of the message's body by its index.
getBodyLineCount() - Method in class de.trantor.mail.MimeDecoder
Returns the number of lines in this MIME part's body.
getBodyLineCount() - Method in class de.trantor.mail.Message
Returns the number of lines in the message's body.
getCanonicalDate(Calendar, TimeZone) - Static method in class de.trantor.mail.Message
Returns a formatted date.
getDebug() - Method in class de.trantor.mail.InboxClient
Queries the current value of the debugging flag.
getDebug() - Method in class de.trantor.mail.SmtpClient
Queries whether the SMTP client is in debug mode or not.
getDebug() - Method in class de.trantor.mail.Connection
Queries the current value of the debugging flag.
getDebug() - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
getDisplayAddress(String) - Static method in class de.trantor.mail.Message
Returns the human-readable part of an address, that is, the part that usually holds the real-life name of a user.
getEncoding() - Method in class de.trantor.mail.MimeDecoder
Returns the encoding of this MIME part, which is deduced from the "Content-Transfer-Encoding:" header field.
getHeaderIndex(String) - Method in class de.trantor.mail.Message
Searches for a header field.
getHeaderIndex(String, int) - Method in class de.trantor.mail.Message
Searches for a header field.
getHeaderLine(int) - Method in class de.trantor.mail.Message
Returns one of the message's header lines by its index.
getHeaderLineCount() - Method in class de.trantor.mail.Message
Returns the number of available header lines.
getHeaderName(int) - Method in class de.trantor.mail.Message
Returns the field name one of the given header line.
getHeaders(int) - Method in class de.trantor.mail.InboxClient
Retrieves a message's headers from the mailbox.
getHeaders(int) - Method in class de.trantor.mail.Pop3Client
 
getHeaders(int) - Method in class de.trantor.mail.ImapClient
 
getHeaderValue(int) - Method in class de.trantor.mail.Message
Returns the field value one of the given header line.
getHeaderValue(String) - Method in class de.trantor.mail.Message
Returns the value of the first occurence of the given header field.
getHeaderValue(String, String) - Method in class de.trantor.mail.Message
Returns the value of the first occurence of the given header field.
getHostname() - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
getImap() - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
getInstance() - Static method in class de.trantor.mail.Connection
Creates a new, concrete connection object for either J2SE or J2SE, depending on the current run-time environment.
getMachineAddress(String) - Static method in class de.trantor.mail.Message
Returns the machine-readable part of an address, that is, the part that is actually used in delivering the message to a recipient.
getMessage() - Method in class de.trantor.mail.Envelope
Returns the message contained in this envelope.
getMessage(int) - Method in class de.trantor.mail.InboxClient
Retrieves a message from the mailbox.
getMessage(int) - Method in class de.trantor.mail.Pop3Client
 
getMessage(int) - Method in class de.trantor.mail.ImapClient
 
getMessage(int, int) - Method in class de.trantor.mail.Pop3Client
Retrieves a message from the POP3 mailbox.
getMessageCount() - Method in class de.trantor.mail.InboxClient
Queries the number of messages currently available in the mailbox.
getMessageCount() - Method in class de.trantor.mail.Pop3Client
 
getMessageCount() - Method in class de.trantor.mail.ImapClient
 
getMessageIndex() - Method in class de.trantor.mail.demo.j2me.InboxScreen
 
getName() - Method in class de.trantor.mail.MimeDecoder
Returns the filename of this MIME part, which is deduced from the "name=" sub-field of the "Content-Type:" header field.
getPart(int) - Method in class de.trantor.mail.MimeDecoder
Returns a subordinate part of this MIME part.
getPartCount() - Method in class de.trantor.mail.MimeDecoder
Returns the number of MIME parts that constitute this MIME part.
getPop3Host() - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
getPop3Pass() - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
getPop3User() - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
getRandomString() - Static method in class de.trantor.mail.Message
Returns a random string.
getRecipient() - Method in class de.trantor.mail.demo.j2me.WriteScreen
 
getRecipient(int) - Method in class de.trantor.mail.Envelope
Returns one of the envelope's recipients by index.
getRecipientCount() - Method in class de.trantor.mail.Envelope
Returns the number of recipients specified in this envelope.
getSender() - Method in class de.trantor.mail.Envelope
Returns the envelope's sender field.
getSize(int) - Method in class de.trantor.mail.InboxClient
Queries the size of a message.
getSize(int) - Method in class de.trantor.mail.Pop3Client
 
getSize(int) - Method in class de.trantor.mail.ImapClient
 
getSmtpAuth() - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
getSmtpHost() - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
getStringElements(String, char) - Static method in class de.trantor.mail.Message
Splits a list of elements into a String array.
getStringName(String) - Static method in class de.trantor.mail.MimeDecoder
Returns the name contained in a name/value pair string.
getStringName(String) - Static method in class de.trantor.mail.Message
Returns the name contained in a name/value pair string.
getStringValue(String) - Static method in class de.trantor.mail.MimeDecoder
Returns the value contained in a name/value pair string.
getStringValue(String) - Static method in class de.trantor.mail.Message
Returns the value contained in a name/value pair string.
getSubject() - Method in class de.trantor.mail.demo.j2me.WriteScreen
 
getType() - Method in class de.trantor.mail.MimeDecoder
Returns the type of this MIME part, which is deduced from the "Content-Type:" header field.
getUniqueId(int) - Method in class de.trantor.mail.InboxClient
Queries the unique ID of a message as assigned by the server that holds the mailbox.
getUniqueId(int) - Method in class de.trantor.mail.Pop3Client
 
getUniqueId(int) - Method in class de.trantor.mail.ImapClient
 

I

ImapClient - class de.trantor.mail.ImapClient.
Encapsulates the IMAP v4.1 protocol as specified in RFC 2060.
ImapClient() - Constructor for class de.trantor.mail.ImapClient
Creates a new ImapClient instance.
InboxClient - class de.trantor.mail.InboxClient.
This class provides an abstraction for the various protocols that are used to access a mailbox (currently POP3 and IMAP).
InboxClient() - Constructor for class de.trantor.mail.InboxClient
Initializes the Connection object belonging to this InboxClient.
InboxScreen - class de.trantor.mail.demo.j2me.InboxScreen.
Represents the screen that shows a list of all messages currently in the POP3 inbox.
InboxScreen(MailMIDlet) - Constructor for class de.trantor.mail.demo.j2me.InboxScreen
 
INFO - Static variable in class de.trantor.mail.demo.j2me.InboxScreen
 
InfoScreen - class de.trantor.mail.demo.j2me.InfoScreen.
Represents an info/about screen for the MIDlet.
InfoScreen(MailMIDlet) - Constructor for class de.trantor.mail.demo.j2me.InfoScreen
 
input - Variable in class de.trantor.mail.Connection
Holds the input stream attached to the socket.
insertBodyLine(int, String) - Method in class de.trantor.mail.Message
Inserts a new line into the message's body, at the given index.
insertHeaderLine(int, String) - Method in class de.trantor.mail.Message
Inserts a new line at a given position into the message's header.

M

MailException - exception de.trantor.mail.MailException.
An exception class for mail errors.
MailException(String) - Constructor for class de.trantor.mail.MailException
 
MailMIDlet - class de.trantor.mail.demo.j2me.MailMIDlet.
Provides a small MIDlet for doing e-mail on an MIDP-enabled device, like a PDA or a cell phone.
MailMIDlet() - Constructor for class de.trantor.mail.demo.j2me.MailMIDlet
 
main(String[]) - Static method in class de.trantor.mail.demo.j2se.DemoRead
 
main(String[]) - Static method in class de.trantor.mail.demo.j2se.DemoSend
 
Message - class de.trantor.mail.Message.
Represents an internet mail message according to RFC 822.
Message() - Constructor for class de.trantor.mail.Message
Contructs a new, totally empty message.
Message(String, String, String) - Constructor for class de.trantor.mail.Message
Contructs a new message with the given sender ("From:" field), recipient ("To:" field) and subject, respectively.
MimeDecoder - class de.trantor.mail.MimeDecoder.
Is a helper class for decoding MIME data contained in e-mail messages.
MimeDecoder(Message) - Constructor for class de.trantor.mail.MimeDecoder
Creates a new MimeDecoder for a given message.

O

OK - Static variable in class de.trantor.mail.demo.j2me.WriteScreen
 
OK - Static variable in class de.trantor.mail.demo.j2me.InfoScreen
 
OK - Static variable in class de.trantor.mail.demo.j2me.SetupScreen
 
OK - Static variable in class de.trantor.mail.demo.j2me.ReadScreen
 
open(String) - Method in class de.trantor.mail.SmtpClient
Opens a connection to the given server at the well-known port 25.
open(String, int, boolean) - Method in class de.trantor.mail.Connection
Opens a connection.
open(String, int, boolean) - Method in class de.trantor.mail.j2me.ConnectionImpl
Opens a connection with the given host on the given port.
open(String, int, boolean) - Method in class de.trantor.mail.j2se.ConnectionImpl
Opens a connection with the given host on the given port.
open(String, int, boolean, String, String) - Method in class de.trantor.mail.InboxClient
Opens a mailbox session.
open(String, int, boolean, String, String) - Method in class de.trantor.mail.Pop3Client
 
open(String, int, boolean, String, String) - Method in class de.trantor.mail.ImapClient
 
open(String, int, boolean, String, String) - Method in class de.trantor.mail.SmtpClient
Opens a connection to the given server at the given port and using secure sockets, if desired.
open(String, String, String) - Method in class de.trantor.mail.InboxClient
Opens a mailbox session.
output - Variable in class de.trantor.mail.Connection
Holds the output stream attached to the socket.

P

pauseApp() - Method in class de.trantor.mail.demo.j2me.MailMIDlet
 
Pop3Client - class de.trantor.mail.Pop3Client.
Encapsulates the POP3 protocol as specified in RFC 1939.
Pop3Client() - Constructor for class de.trantor.mail.Pop3Client
Constructs an instance of the POP3 client.

R

READ - Static variable in class de.trantor.mail.demo.j2me.InboxScreen
 
ReadScreen - class de.trantor.mail.demo.j2me.ReadScreen.
Represents the screen that is used to display retrieved messages.
ReadScreen(MailMIDlet) - Constructor for class de.trantor.mail.demo.j2me.ReadScreen
 
receive() - Method in class de.trantor.mail.Connection
Receives a string from the server.
removeBodyLine(int) - Method in class de.trantor.mail.Message
Removes a line from the message's body.
removeHeaderLine(int) - Method in class de.trantor.mail.Message
Removes a complete header line.
removeMessage(int) - Method in class de.trantor.mail.InboxClient
Removes a message from the mailbox.
removeMessage(int) - Method in class de.trantor.mail.Pop3Client
 
removeMessage(int) - Method in class de.trantor.mail.ImapClient
 
removeRecipient(int) - Method in class de.trantor.mail.Envelope
Removes a recipient from the message's envelope.

S

send(String) - Method in class de.trantor.mail.Connection
Sends a string to the server.
sendMessage(Envelope) - Method in class de.trantor.mail.SmtpClient
Sends a message.
sendMessage(Message) - Method in class de.trantor.mail.SmtpClient
Sends a message.
setAddress(String) - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
setBodyLine(int, String) - Method in class de.trantor.mail.Message
Replaces the line of the message's body at the given index.
setDate(String) - Method in class de.trantor.mail.demo.j2me.ReadScreen
 
setDebug(boolean) - Method in class de.trantor.mail.InboxClient
Controls the output of debugging information to standard output.
setDebug(boolean) - Method in class de.trantor.mail.SmtpClient
Controls printing of protocol debugging information to standard output.
setDebug(boolean) - Method in class de.trantor.mail.Connection
Controls the output of debugging information to standard output.
setDebug(boolean) - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
setHeaderLine(int, String) - Method in class de.trantor.mail.Message
Replaces the given header line by a new one.
setHeaderValue(String, String) - Method in class de.trantor.mail.Message
Sets a header field to a given value.
setHostname(String) - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
setImap(boolean) - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
setMessages(Vector) - Method in class de.trantor.mail.demo.j2me.InboxScreen
 
setPop3Host(String) - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
setPop3Pass(String) - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
setPop3User(String) - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
setRecipient(int, String) - Method in class de.trantor.mail.Envelope
Replaces the envelope's recipient at the given index by a new one.
setSender(String) - Method in class de.trantor.mail.Envelope
Sets the envelope's sender field to the given value.
setSender(String) - Method in class de.trantor.mail.demo.j2me.ReadScreen
 
setSmtpAuth(boolean) - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
setSmtpHost(String) - Method in class de.trantor.mail.demo.j2me.SetupScreen
 
setSubject(String) - Method in class de.trantor.mail.demo.j2me.ReadScreen
 
SetupScreen - class de.trantor.mail.demo.j2me.SetupScreen.
Represents the setup-screen that is shown at startup.
SetupScreen(MailMIDlet) - Constructor for class de.trantor.mail.demo.j2me.SetupScreen
 
showMimeInfo(String, MimeDecoder) - Static method in class de.trantor.mail.demo.j2se.DemoRead
 
SmtpClient - class de.trantor.mail.SmtpClient.
Encapsulates the SMTP protocol, as specified in RFC 822.
SmtpClient(String) - Constructor for class de.trantor.mail.SmtpClient
Constructs an instance of the SMTP client.
startApp() - Method in class de.trantor.mail.demo.j2me.MailMIDlet
 

W

WRITE - Static variable in class de.trantor.mail.demo.j2me.InboxScreen
 
WriteScreen - class de.trantor.mail.demo.j2me.WriteScreen.
Represents the screen that is used to write new messages.
WriteScreen(MailMIDlet) - Constructor for class de.trantor.mail.demo.j2me.WriteScreen
 

A C D E G I M O P R S W