



class Reproject implements Runnable
{
   String id;
   String prefix;
   String fileName;
   String[] response;
   DatasetsImpl datasets;

   public Reproject(DatasetsImpl datasets, String id, String prefix, String fileName)
   {
      this.datasets  = datasets;
      this.id        = id;
      this.prefix    = prefix;
      this.fileName  = fileName;
   }


   @Override
   public void run()
   {
      String name = Thread.currentThread().getName();
      DatasetsImpl.LOGGER.info("Start of " + name);
      response = datasets.mergefiles_reproject(id, prefix, fileName);
      DatasetsImpl.LOGGER.info("End   of " + name);
   }

}

