Class BukkitConfigExpansionDescriptionLoader
java.lang.Object
me.hsgamer.hscore.expansion.common.factory.InputStreamExpansionDescriptionLoader
me.hsgamer.hscore.bukkit.expansion.BukkitConfigExpansionDescriptionLoader
- All Implemented Interfaces:
Function<JarFile,
,ExpansionDescription> MapExpansionDescriptionLoader
The factory to load
ExpansionDescription
from a Bukkit YAML file-
Constructor Summary
ConstructorDescriptionBukkitConfigExpansionDescriptionLoader
(String descriptionFileName) Create a newBukkitConfigExpansionDescriptionLoader
-
Method Summary
Modifier and TypeMethodDescriptionapplyAsMap
(InputStream inputStream) Load the information map from the input streamMethods inherited from class me.hsgamer.hscore.expansion.common.factory.InputStreamExpansionDescriptionLoader
applyAsMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.hscore.expansion.common.factory.MapExpansionDescriptionLoader
apply
-
Constructor Details
-
BukkitConfigExpansionDescriptionLoader
Create a newBukkitConfigExpansionDescriptionLoader
- Parameters:
descriptionFileName
- the name of the description file
-
-
Method Details
-
applyAsMap
Description copied from class:InputStreamExpansionDescriptionLoader
Load the information map from the input stream- Specified by:
applyAsMap
in classInputStreamExpansionDescriptionLoader
- Parameters:
inputStream
- the input stream- Returns:
- the information map
-