A B C D F G H L M R S

A

appendFile(String, String, int) - Method in class com.lamatek.protobeans.FTPBean
This method is similar to the storeFile method, only it appends the data to an already existing file, or if a file with the give name cannot be found, then it creates a new one.
appendText(String, String) - Method in class com.lamatek.protobeans.FTPBean
This method is similar to the storeText method, only it appends the data to an already existing file, or if a file with the give name cannot be found, then it creates a new one.
ASCII - Static variable in class com.lamatek.protobeans.FTPBean
Static variable used to define ASCII content.

B

BINARY - Static variable in class com.lamatek.protobeans.FTPBean
Static variable used to define BINARY content.

C

com.lamatek.protobeans - package com.lamatek.protobeans
 
completeDownload() - Method in class com.lamatek.protobeans.FTPBean
This method is an accessory method that reads any leftover text in the control port's input stream.
connect(String, int) - Method in class com.lamatek.protobeans.SMTPBean
This method establishes the header portion of the SMTP transaction, sending the HELP, MAIL and RCPT commands.

D

deleteFile(String) - Method in class com.lamatek.protobeans.FTPBean
This method removes the specified file from the FTP Server.

F

FTPBean - Class in com.lamatek.protobeans
FTPBean provides a consistent interface to an FTP Server.
FTPBean(boolean) - Constructor for class com.lamatek.protobeans.FTPBean
This no argument constructor creates an initially unlogged FTPBean.
FTPBean(String, int, boolean) - Constructor for class com.lamatek.protobeans.FTPBean
This constructor creates an FTPBean with the initial socket connection already established.
FTPBean(String, int, String, String, boolean) - Constructor for class com.lamatek.protobeans.FTPBean
This constructor for the FTPBean provides all login and dataSocket functions during initialization.
FTPException - Exception in com.lamatek.protobeans
FTPException is an encapsulating extension of the java.lang.Exception class.

G

getDirectoryTree() - Method in class com.lamatek.protobeans.FTPBean
This method requests the directory structure from the FTP server using the current directory as the top.
getLastResponse() - Method in class com.lamatek.protobeans.FTPBean
This method returns the last reponse received from the FTP Server.
getLastResponse() - Method in class com.lamatek.protobeans.SMTPBean
This method returns the last reponse received from the SMTP Server.
getMessage() - Method in exception com.lamatek.protobeans.FTPException
Public method to gain access to the private string message.
getMessage() - Method in exception com.lamatek.protobeans.SMTPException
Returns the message associated with this exception.
getRemoteDirectory() - Method in class com.lamatek.protobeans.FTPBean
Reads the current directory on the remote FTP server.

H

hail(String, String) - Method in class com.lamatek.protobeans.SMTPBean
This method makes the necessary SMTP hailing calls to the SMTP server, including HELO, MAIL and RCPT.
hailAndSendMessage(String, String, String, String) - Method in class com.lamatek.protobeans.SMTPBean
This method performs the hail and sendMessage in one convenient method.

L

login(String, String) - Method in class com.lamatek.protobeans.FTPBean
This method attempts to login in to the remote FTP server using the supplied username and password arguments.
logout() - Method in class com.lamatek.protobeans.FTPBean
This method performs the required logging out functions.
logout() - Method in class com.lamatek.protobeans.SMTPBean
This method closes all existing data streams and sockets to the SMTP server.

M

makeDirectory(String) - Method in class com.lamatek.protobeans.FTPBean
This method creates a new directory on the FTP Server.

R

removeDirectory(String) - Method in class com.lamatek.protobeans.FTPBean
This method removes a directory from the remote FTP server.
renameFile(String, String) - Method in class com.lamatek.protobeans.FTPBean
This method renames a file on the FTP Server.
retrieveFile(String, int) - Method in class com.lamatek.protobeans.FTPBean
This method retrieves a file from the remote server and saves it to the current directory with the same filename.
retrieveObject(String, boolean) - Method in class com.lamatek.protobeans.FTPBean
This method retrieves a remote Java object and either returns it as an instance of Object (if save = false) or stores it locally in a file in the current directory with the same name (if save = true).
retrieveText(String, boolean) - Method in class com.lamatek.protobeans.FTPBean
This method reads a text file and either returns it as a String (if save = false) or saves it to a file in the current directory with the same name (if save = true);

S

sendMessage(String, String, String, String) - Method in class com.lamatek.protobeans.SMTPBean
This method performs the actual email transmission function.
setRemote(String, int) - Method in class com.lamatek.protobeans.FTPBean
This method sets the remote server and port number, creating the required input and output streams for command submission and reads connection reponse from server and puts the reponse in the lastreply String variable.
setRemoteDirectory(String) - Method in class com.lamatek.protobeans.FTPBean
Sets the remote directory on the FTP server.
SMTPBean - Class in com.lamatek.protobeans
This bean provides a simple, easy-to-use SMTP interface for use in sending standard emails (without attachments) from Java applets.
SMTPBean() - Constructor for class com.lamatek.protobeans.SMTPBean
Creates an initially disconnected SMTPBean.
SMTPBean(String, int) - Constructor for class com.lamatek.protobeans.SMTPBean
Creates a SMTPBean that attempts to establish the Socket connection to the SMTP server.
SMTPBean(String, int, String, String) - Constructor for class com.lamatek.protobeans.SMTPBean
Creates a SMTPBean that attempts to establish the Socket connection to the SMTP server and sends the hailing commands HELP, MAIL and RCPT.
SMTPBean(String, int, String, String, String, String) - Constructor for class com.lamatek.protobeans.SMTPBean
Creates a SMTPBean that attempts to establish the Socket connection to the SMTP server, sends the hailing commands HELP, MAIL and RCPT and sends the message all in one step.
SMTPException - Exception in com.lamatek.protobeans
A simple extension of the java.lang.Exception class designed to report all the possible exceptions during a typical SMTP session using the SMTPBean.
SMTPException(String) - Constructor for exception com.lamatek.protobeans.SMTPException
Creates a new SMTPException with the given message.
storeFile(String, String, int) - Method in class com.lamatek.protobeans.FTPBean
This command reads data from the supplied file and saves it to the server with the filename supplied.
storeObject(String, Object) - Method in class com.lamatek.protobeans.FTPBean
This method is used to persistently store a Java object to a remote server.
storeText(String, String) - Method in class com.lamatek.protobeans.FTPBean
This command the supplied text to the server with the given filename.

A B C D F G H L M R S