Example usage for java.awt.datatransfer DataFlavor clone

List of usage examples for java.awt.datatransfer DataFlavor clone

Introduction

In this page you can find the example usage for java.awt.datatransfer DataFlavor clone.

Prototype

public Object clone() throws CloneNotSupportedException 

Source Link

Document

Returns a clone of this DataFlavor .

Usage

From source file:Main.java

public static void main(String[] args) {

    DataFlavor df = DataFlavor.stringFlavor;

    try {/*from   w w w.ja  v a  2 s. co  m*/
        System.out.println(df.clone());
    } catch (CloneNotSupportedException e) {
        e.printStackTrace();
    }
}