Package org.jitterbit.integration.client.project.jitterpack

Examples of org.jitterbit.integration.client.project.jitterpack.ExtractDescriptorCallback


        this.packerUi = packerUi;
    }

    @Override
    public void examine(File file, ImportParameters params) {
        ExtractDescriptorCallback callback = new ExtractorCallbackImpl(window, file);
        if (file.isDirectory()) {
            callback.failed("The path \"" + file.getAbsolutePath() + "\" is a folder. You need to select a file.", null);
        } else if (file.exists()) {
            packerUi.extractDescriptor(file, params, callback);
        } else {
            callback.failed("The file \"" + file.getAbsolutePath() + "\" does not exist.", null);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.project.jitterpack.ExtractDescriptorCallback

Copyright © 2018 www.massapicom. 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.