be.saltwater.jaqel.creature.loaders
Interface PotionLoader
- All Known Implementing Classes:
- XMLPotionLoader
- public interface PotionLoader
Interface for the loading of potion files. PotionLoadHelper stores what potions are already loaded. Therefore you should use PotionLoadHelper and not this interface, otherwise you could possibly load the same file multiple times.
- Author:
- Bruno Windels
- See Also:
PotionLoadHelper,
Potion
load
public PotionTypeData load(java.lang.String filename)
throws java.io.IOException,
IllegalFormatException
- Loads the file.
- Throws:
java.io.IOException - When there was a problem reading the specified file
IllegalFormatException - When the format of the file is not as expected