org.clapper.util.mail
Class MultipartSubtype

java.lang.Object
  extended by org.clapper.util.mail.MultipartSubtype

public final class MultipartSubtype
extends java.lang.Object

Constant instances of this class are used to tell an EmailMessage object the type of the multipart email message ("mixed" or "alternative").

Version:
$Revision: 6735 $
Author:
Copyright © 2004-2007 Brian M. Clapper
See Also:
EmailMessage.MULTIPART_MIXED, EmailMessage.MULTIPART_ALTERNATIVE

Method Summary
 boolean equals(java.lang.Object other)
          Determine whether this object is equivalent to another.
 int hashCode()
          Get the hash code for this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object other)
Determine whether this object is equivalent to another. Note that, when used to define constants, it's generally fine to use Java's "==" operator, since the constants will only be defined once.

Overrides:
equals in class java.lang.Object
Parameters:
other - the other object
Returns:
true if they're equivalent, false otherwise

hashCode

public int hashCode()
Get the hash code for this object.

Overrides:
hashCode in class java.lang.Object
Returns:
the hash code


Copyright © 2004-2007 Brian M. Clapper. All Rights Reserved.