Determines if this doc flavor object is equal to the given object.
The two are equal if the given object is not null, is an instance
of
DocFlavor
, has a MIME type equivalent to this doc
flavor object's MIME type (that is, the MIME types have the same media
type, media subtype, and parameters), and has the same representation
class name as this doc flavor object. Thus, if two doc flavor objects'
MIME types are the same except for comments, they are considered equal.
However, two doc flavor objects with MIME types of "text/plain" and
"text/plain; charset=US-ASCII" are not considered equal, even though
they represent the same media type (because the default character
set for plain text is US-ASCII).
Returns:
True if this doc flavor object equals
obj
, false
otherwise.
Parameters:
-
obj - Object to test.