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

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


    private void unpackImpl(JitterPack jitterpack, ImportParameters params, File destinationFolder,
                    UnpackCallback callback) {
        logUnpackRequest(jitterpack, destinationFolder);
        try {
            DescriptorExtractor extractor = new DescriptorExtractor(jitterpack.getFile(), params, null);
            JitterPackDescriptor descriptor = extractor.extract();
            DestinationChecker destinationChecker = new DestinationChecker();
            if (!destinationChecker.isLocationOk(params, descriptor, destinationFolder)) {
                logDestinationDenied(destinationFolder);
                callback.unpackingCancelled(null);
                return;
View Full Code Here


        ApplicationLog.getMainLogger().info("The user cancelled unpacking the jitterpak");
    }

    public void extractDescriptor(File file, ImportParameters params, ExtractDescriptorCallback callback) {
        ApplicationWorker worker = Application.getWorker();
        worker.submitForParallel(new DescriptorExtractor(file, params, callback));
    }
View Full Code Here

TOP

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

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.