Java DataFlavor .getTextPlainUnicodeFlavor ()

Syntax

DataFlavor.getTextPlainUnicodeFlavor() has the following syntax.

public static final DataFlavor getTextPlainUnicodeFlavor()

Example

In the following code shows how to use DataFlavor.getTextPlainUnicodeFlavor() method.


import java.awt.datatransfer.DataFlavor;
// w  w  w  . ja v a  2 s  .  com
public class Main {

  public static void main(String[] args) {

    DataFlavor df = DataFlavor.stringFlavor;

    System.out.println (df.getTextPlainUnicodeFlavor ());
  }
}




















Home »
  Java Tutorial »
    java.awt.datatransfer »




Clipboard
ClipboardOwner
DataFlavor
Transferable