title: How to determine current clipboard DataFlavor before get clip content
body: <p>I have following trouble, when i copy Intellij Idea Editor text, and run</p>
  
  <pre><code>Toolkit.defaultToolkit.systemClipboard.getData(DataFlavor.stringFlavor)
  </code></pre>
  
  <p>it will raise:</p>
  
  <pre><code>Exception "java.lang.ClassNotFoundException: com/intellij/codeInsight/editorActions/FoldingData"while constructing DataFlavor for: application/x-java-jvm-local-objectref; class=com.intellij.codeInsight.editorActions.FoldingData
  </code></pre>
  
  <p>In fact, I hope ignore clip content with FoldingData, how to detect current clipboard DataFlavor</p>