question: private static DataFlavor [ ] convertToArray ( List < DataFlavor > dataFlavourList ) { DataFlavor [ ] array = new DataFlavor [ dataFlavourList . size ( ) ] ; dataFlavourList . toArray ( array ) ; return array ; }
target:  Convert DataFlavor list to array.