* Created by cdutz on 24.05.2014.
*/
public class FlashDownloader {
public void downloadAndConvert(File targetDirectory, String version) throws Exception {
final DownloadRetriever downloadRetriever = new DownloadRetriever();
final File playerglobalSourceFile = downloadRetriever.retrieve(SdkType.FLASH, version);
final File tempSdkRoot = new File(playerglobalSourceFile.getParent(),
playerglobalSourceFile.getName().substring(0, playerglobalSourceFile.getName().length() - 4) +
"-temp-dir");
final File playerGlobalTargetDir = new File(tempSdkRoot,