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