com.vwp.sound.mod.modplay.loader
Class XMLoader

java.lang.Object
  extended by com.vwp.sound.mod.modplay.loader.ModuleLoader
      extended by com.vwp.sound.mod.modplay.loader.XMLoader

public class XMLoader
extends ModuleLoader

Makes it possible to load a module from a .XM file

Author:
torkjel

Field Summary
 
Fields inherited from class com.vwp.sound.mod.modplay.loader.ModuleLoader
IT, MOD, S3M, STM, UNKNOWN, XM, ZIP
 
Constructor Summary
XMLoader(String name, byte[] data)
           
 
Method Summary
 Module getModule()
           
 
Methods inherited from class com.vwp.sound.mod.modplay.loader.ModuleLoader
getModuleLoader, getModuleLoader, getModuleLoader, getModuleLoader, getModuleLoader, getModuleLoader, getModuleLoader
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLoader

public XMLoader(String name,
                byte[] data)
         throws InvalidFormatException,
                IOException
Throws:
InvalidFormatException
IOException
Method Detail

getModule

public Module getModule()
Specified by:
getModule in class ModuleLoader
Returns:
the module loaded by a module loader.