DataFlavor.isMimeTypeEqual
Class Overview | Class Members |
This Package |
All Packages
public boolean isMimeTypeEqual( String mimeType )
Description
Is the string representation of the MIME type passed in equivalent
to the MIME type of this DataFlavor. This may involve adding default
attributes for some MIME types (like adding charset=US-ASCII to
text/plain MIME types that have no charset parameter specified)
public final boolean isMimeTypeEqual( DataFlavor dataFlavor )
Description
Convenience function equivalent to calling:
isMimeTypeEqual(dataFlavor.getMimeType());