Package me.hsgamer.hscore.addon.loader
Class PropertiesAddonDescriptionLoader
java.lang.Object
me.hsgamer.hscore.addon.loader.InputStreamAddonDescriptionLoader
me.hsgamer.hscore.addon.loader.PropertiesAddonDescriptionLoader
- All Implemented Interfaces:
AddonDescriptionLoader,MapAddonDescriptionLoader
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a newPropertiesAddonDescriptionLoaderPropertiesAddonDescriptionLoader(String addonFileName) Create a newPropertiesAddonDescriptionLoader -
Method Summary
Modifier and TypeMethodDescriptionloadAsMap(InputStream inputStream) Load the information map from the input streamMethods inherited from class me.hsgamer.hscore.addon.loader.InputStreamAddonDescriptionLoader
loadAsMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.hscore.addon.loader.MapAddonDescriptionLoader
load
-
Constructor Details
-
PropertiesAddonDescriptionLoader
Create a newPropertiesAddonDescriptionLoader- Parameters:
addonFileName- the addon file name
-
PropertiesAddonDescriptionLoader
public PropertiesAddonDescriptionLoader()Create a newPropertiesAddonDescriptionLoader
-
-
Method Details
-
loadAsMap
Description copied from class:InputStreamAddonDescriptionLoaderLoad the information map from the input stream- Specified by:
loadAsMapin classInputStreamAddonDescriptionLoader- Parameters:
inputStream- the input stream- Returns:
- the information map
- Throws:
IOException- if an I/O error occurs
-