edu.yale.emailet
Class EmailetDoc
java.lang.Object
|
+--edu.yale.emailet.EmailetDoc
- All Implemented Interfaces:
- java.io.Serializable
- public class EmailetDoc
- extends java.lang.Object
- implements java.io.Serializable
An EmailetDoc object is a container for an Emailet object, its
accessory classes and other information.
- Author:
- Hong Jiang
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmailetDoc
public EmailetDoc()
getReplyAddresses
public java.lang.String[] getReplyAddresses()
- Get the addresses, if any, the reply emailet should be sent to.
- Returns:
- An array of addresses.
setReplyAddresses
public void setReplyAddresses(java.lang.String[] newReplyAddresses)
- Set the addresses, if any, the reply emailet should be sent to.
- Parameters:
newReplyAddresses
- An array of addresses.
getClassLoader
public static EmailetClassLoader getClassLoader()
- Returns:
- The static instance of EmailetClassLoader
getEmailet
public Emailet getEmailet()
- Returns:
- The Emailet instance contained in the EmailetDoc object
getEmailetClassName
public java.lang.String getEmailetClassName()
- Returns:
- A string specifying the class name of the embedded emailet.
setEmailetClassName
public void setEmailetClassName(java.lang.String name)
- Parameters:
name
- A string specifying the class name of the embedded emailet.
setClassLoader
public static void setClassLoader(EmailetClassLoader loader)
- Parameters:
loader
- The static instance of EmailetClassLoader
setEmailet
public void setEmailet(Emailet emailet)
- Parameters:
emailet
- The Emailet instance contained in the EmailetDoc object
getInlineClasses
public InlineClass[] getInlineClasses()
- Returns:
- An array of classes embedded in this EmailetDoc
object. These classes are referenced by the embedded Emailet
object, so they are needed for the emailet to deserialize on a
remote machine on which these classes do not present.
setInlineClasses
public void setInlineClasses(InlineClass[] classes)
- Parameters:
classes
- An array of classes embedded in this EmailetDoc
object. These classes are referenced by the embedded Emailet
object, so they are needed for the emailet to deserialize on a
remote machine on which these classes do not present.