Package org.jitterbit.plugin.sdk

Examples of org.jitterbit.plugin.sdk.Version


     *
     * @throws JitterbitPluginException
     *             if the requested parser could not be created.
     */
    static InputXmlParser getParser(File inputXml) throws JitterbitPluginException {
        Version specVersion = getPipelinePluginSpecificationVersion(inputXml);
        if ((specVersion.getMajorVersion() == 1) && (specVersion.getMinorVersion() == 0)) {
            return new InputXmlParserImpl_v10(specVersion);
        }
        throw new JitterbitPluginException("Cannot handle input XML for version " + specVersion
                        + " of the Jitterbit Pipeline Plugin Specification.");
    }
View Full Code Here


        throw new JitterbitPluginException("Cannot handle input XML for version " + specVersion
                        + " of the Jitterbit Pipeline Plugin Specification.");
    }

    private static Version getPipelinePluginSpecificationVersion(File file) throws JitterbitPluginException {
        Version pluginSpecVersion = new PluginSpecificationVersionExtractor().getVersionFromXml(file);
        return getPipelinePluginSpecificationVersion(file, pluginSpecVersion);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.plugin.sdk.Version

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.