|
Generated by JDiff |
||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS |
Changed Constructors | ||
String ) |
Documentation changed from old to new. |
Construct a DataFlavor from a Mime Type string. |
void ) |
Documentation changed from old to new. |
Constructs a new DataFlavor. |
Added Methods | |
Class getDefaultRepresentationClass() |
|
String getDefaultRepresentationClassAsString() |
|
Reader getReaderForText(Transferable ) |
Gets a reader for an input stream decoded for the expected charset (encoding). |
DataFlavor getTextPlainUnicodeFlavor() |
|
boolean match(DataFlavor ) |
Two DataFlavors match if their primary types subtypes and representation classes are all equal. |
DataFlavor selectBestTextFlavor(DataFlavor[] ) |
@return the best (highest fidelity) flavor in an encoding supported by the JDK or null if none can be found. |
Changed Methods | ||
int hashCode() |
Documentation changed from old to new. Method was inherited from Object, but is now defined locally. Changed from native to non-native. |
Returns hash code for this DataFlavor . |
String toString() |
Documentation changed from old to new. |
String representation of this DataFlavor and its parameters. |
boolean equals(DataFlavor ) |
Documentation changed from old to new. |
Two DataFlavors are considered equal if and only if their MIME primary type and subtype and representation class are equal. |
boolean equals(Object ) |
Documentation changed from old to new. |
If the object is an instance of DataFlavor representationClass and MIME type will be compared. |
boolean equals(String ) |
Documentation changed from old to new. Now deprecated. |
As inconsistent with hashCode() contract, use isMimeTypeEqual(String) instead. |
boolean isMimeTypeEqual(String ) |
Documentation changed from old to new. |
Is the string representation of the MIME type passed in equivalent to the MIME type of this DataFlavor Parameters are not incuded in the comparison. |
Changed Fields | ||
DataFlavor plainTextFlavor |
Documentation changed from old to new. Now deprecated. |
as of 1.3. |
|
|||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES |