Package me.hsgamer.hscore.addon.loader
Class ManifestAddonDescriptionLoader
java.lang.Object
me.hsgamer.hscore.addon.loader.ManifestAddonDescriptionLoader
- All Implemented Interfaces:
AddonDescriptionLoader
The
AddonDescriptionLoader that loads the AddonDescription from the manifest of the jar file-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ManifestAddonDescriptionLoader
public ManifestAddonDescriptionLoader()
-
-
Method Details
-
load
Description copied from interface:AddonDescriptionLoaderLoadAddonDescriptionfrom jar file- Specified by:
loadin interfaceAddonDescriptionLoader- Parameters:
jarFile- the jar file- Returns:
- the
AddonDescription - Throws:
IOException- if an I/O error occursInvalidAddonDescription- if theAddonDescriptionis invalid
-