Class MapDownloadInfoLoader

java.lang.Object
me.hsgamer.hscore.downloader.core.loader.MapDownloadInfoLoader
All Implemented Interfaces:
DownloadInfoLoader
Direct Known Subclasses:
JsonDownloadInfoLoader

public abstract class MapDownloadInfoLoader extends Object implements DownloadInfoLoader
A simple DownloadInfoLoader that loads the download info from a map. The format of the map:
   
   {
     "name1": {
       "file-name": "name1.jar",
       "version": "1.0",
       "direct-link": "example.com/name1.jar",
       ...
     },
     "name2": {
       "file-name": "name2.jar",
       "version": "1.0-SN",
       "direct-link": "example.com/name2.jar",
       ...
     },
     ...
   }