public boolean isDataFlavorSupported(DataFlavor flavor){
  for (  DataFlavor flavor2 : flavors) {
    if (flavor2.equals(flavor)) {
      return true;
    }
  }
  return false;
}

public boolean isDataFlavorSupported ( DataFlavor flavor ) { for ( DataFlavor flavor2 : flavors ) { if ( flavor2 . equals ( flavor ) ) { return true ; } } return false ; }
returns whether the requested flavor is supported by this transferable .
