org.gcube.dataanalysis.geo.utils
Class Downloader

java.lang.Object
  extended by org.gcube.dataanalysis.geo.utils.Downloader

public class Downloader
extends Object


Constructor Summary
Downloader()
           
 
Method Summary
static String buildGetterString(String httpstring, String filename)
           
static String buildTopicString(String filename, String... topics)
           
static void buildwgetFile(String filename, List<String> hfiles, List<String> files)
           
static void downloadData(String endpoint, String file)
           
static List<String> enrichfiles(List<String> files)
           
static List<String> getfiles(String filename, String criterion, String initselection, String endselection)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Downloader

public Downloader()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

buildwgetFile

public static void buildwgetFile(String filename,
                                 List<String> hfiles,
                                 List<String> files)
                          throws Exception
Throws:
Exception

enrichfiles

public static List<String> enrichfiles(List<String> files)
                                throws Exception
Throws:
Exception

getfiles

public static List<String> getfiles(String filename,
                                    String criterion,
                                    String initselection,
                                    String endselection)
                             throws Exception
Throws:
Exception

buildGetterString

public static String buildGetterString(String httpstring,
                                       String filename)

buildTopicString

public static String buildTopicString(String filename,
                                      String... topics)

downloadData

public static void downloadData(String endpoint,
                                String file)
                         throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.