Examples of DownloadRetriever


Examples of org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever

* Created by cdutz on 24.05.2014.
*/
public class AirDownloader {

    public void downloadAndConvert(File targetDirectory, String version, PlatformType platformType) throws Exception {
        final DownloadRetriever downloadRetriever = new DownloadRetriever();
        final File airSDKSourceDirectory = downloadRetriever.retrieve(SdkType.AIR, version, platformType);

        final AirConverter airConverter = new AirConverter(airSDKSourceDirectory, targetDirectory);
        airConverter.convert();
    }
View Full Code Here

Examples of org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever

* 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,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.