Package org.deri.eurostat.zip

Examples of org.deri.eurostat.zip.DownloadZip


  }
 
  public void downloadZipFiles(String tempZipPath, String tempTsvPath)
  {
    writeLog("Downloading compressed files.");
    DownloadZip obj = new DownloadZip();
    if(dsUpdates.size() > 0 )
    {
      for(String str:dsUpdates)
      {
        if(str.contains("http://"))
          obj.zipURL(str.substring(str.lastIndexOf("[")+1,str.lastIndexOf("]")),tempZipPath, tempTsvPath);
      }
    }
   
    if(newDatasets.size() > 0)
    {
      for(String str:newDatasets)
      {
        if(str.contains("http://"))
          obj.zipURL(str.substring(str.lastIndexOf("[")+1,str.lastIndexOf("]")),tempZipPath, tempTsvPath);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.deri.eurostat.zip.DownloadZip

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.