DataFlavor.javaSerializedObjectMimeType has the following syntax.
public static final String javaSerializedObjectMimeType
In the following code shows how to use DataFlavor.javaSerializedObjectMimeType field.
import java.awt.datatransfer.DataFlavor; /* w w w . ja v a 2 s. c o m*/ public class Main { public static void main(String[] args) { String df = DataFlavor.javaSerializedObjectMimeType; System.out.println (df); } }
The code above generates the following result.