DataFlavor.isRepresentationClassCharBuffer() has the following syntax.
public boolean isRepresentationClassCharBuffer()
In the following code shows how to use DataFlavor.isRepresentationClassCharBuffer() method.
//from w ww .j av a 2 s . c o m import java.awt.datatransfer.DataFlavor; public class Main { public static void main(String[] args) { DataFlavor df = DataFlavor.stringFlavor; System.out.println (df.isRepresentationClassCharBuffer ()); } }
The code above generates the following result.