Java DataFlavor .getHumanPresentableName ()
Syntax
DataFlavor.getHumanPresentableName() has the following syntax.
public String getHumanPresentableName()
Example
In the following code shows how to use DataFlavor.getHumanPresentableName() method.
import java.awt.datatransfer.DataFlavor;
// w ww . ja v a2 s . c o m
public class Main {
public static void main(String[] args) {
DataFlavor df = DataFlavor.stringFlavor;
System.out.println (df.getHumanPresentableName ());
}
}