Java DataFlavor .is Representation Class Byte Buffer ()

Syntax

DataFlavor.isRepresentationClassByteBuffer() has the following syntax.

public boolean isRepresentationClassByteBuffer()

Example

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


import java.awt.datatransfer.DataFlavor;
//ww w  .  j  a v  a 2s  .c  o m
public class Main {

  public static void main(String[] args) {

    DataFlavor df = DataFlavor.stringFlavor;

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




















Home »
  Java Tutorial »
    java.awt.datatransfer »




Clipboard
ClipboardOwner
DataFlavor
Transferable