public void downloadContents(Progress progress) throws IOException {
  String tmpPath=getContentPath();
  File f=new File(tmpPath);
  if (!f.exists())   f.mkdir();
  ForkJoinPool pool=ForkJoinPool.commonPool();
  List<ContentDownloader> dlList=new ArrayList<>();
  for (  Content c : contents) {
    dlList.add(new ContentDownloader(c,progress));
  }
  pool.invokeAll(dlList);
  Logger.log("Done!");
}

public void downloadContents ( Progress progress ) throws IOException { String tmpPath = getContentPath ( ) ; File f = new File ( tmpPath ) ; if ( ! f . exists ( ) ) f . mkdir ( ) ; ForkJoinPool pool = ForkJoinPool . commonPool ( ) ; List < ContentDownloader > dlList = new ArrayList < > ( ) ; for ( Content c : contents ) { dlList . add ( new ContentDownloader ( c , progress ) ) ; } pool . invokeAll ( dlList ) ; Logger . log ( "Done!" ) ; }
downloads all content files ( encrypted )
