Package com.aspose.componentsdownload

Examples of com.aspose.componentsdownload.ProductRelease


        for (AsposeJavaComponent component : AsposeJavaComponents.list.values()) {
            progressIndicator.checkCanceled();
            if (component.is_selected()) {

                ProductRelease productRelease = getProductReleaseInfo(component.get_downloadUrl());
                if (productRelease == null) {
                    continue;
                }
                component.set_downloadUrl(productRelease.getDownloadLink());
                component.set_downloadFileName(productRelease.getFileName());
                component.set_changeLog(productRelease.getChangeLog());
                component.set_latestVersion(productRelease.getVersionNumber());
               
                if (libraryAlreadyExists(component.get_downloadFileName()))
                {
                    component.set_currentVersion(readVersion(component));
                    if (readVersion(component).equals(component.get_latestVersion()))
View Full Code Here


     * @param productUrl
     * @return
     */
    public ProductRelease getProductReleaseInfo(String productUrl) {

        ProductRelease data = null;
        try {
            String productInfo;
            productInfo = readURLContents(productUrl);
            productInfo = productInfo.substring(40);
            JAXBContext jaxbContext = JAXBContext.newInstance(ObjectFactoryComponents.class);
View Full Code Here

TOP

Related Classes of com.aspose.componentsdownload.ProductRelease

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.