Java DataFlavor .isRepresentation ClassInputStream ()

Syntax

DataFlavor.isRepresentationClassInputStream() has the following syntax.

public boolean isRepresentationClassInputStream()

Example

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


/*  ww  w  .  ja v a2 s.co m*/
import java.awt.datatransfer.DataFlavor;

public class Main {

  public static void main(String[] args) {

    DataFlavor df = DataFlavor.stringFlavor;

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




















Home »
  Java Tutorial »
    java.awt.datatransfer »




Clipboard
ClipboardOwner
DataFlavor
Transferable