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

Examples of org.jitterbit.integration.client.project.jitterpack.FileToJitterpackConverter.convert()


    private void handleImpl(final File file) {
        try {
            ApplicationLog.getMainLogger().info("Handling pushed Jitterpak file: " + file.getAbsolutePath());
            FileToJitterpackConverter converter = new FileToJitterpackConverter();
            JitterPack jp = converter.convert(file);
            if (jp.getDescriptor().isEncrypted()) {
                unpackEncryptedJitterPack(jp);
            } else {
                getPackerUi().unpack(jp, ImportParameters.DEFAULT, destinationFolder, new UnpackCallbackImpl());
            }
View Full Code Here


    @Override
    public JitterPack[] collect() {
        try {
          consoleWriter.log("Checking the file " + file.getAbsolutePath());
            FileToJitterpackConverter converter = new FileToJitterpackConverter();
            JitterPack jp = converter.convert(file);
            return new JitterPack[] { jp };
        } catch (JitterPackException ex) {
          consoleWriter.log(ex);
        } catch (UnsupportedVersionException ex) {
          consoleWriter.log(ex);
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.