com.md5importer.loader
Class AnimLoader

java.lang.Object
  extended by com.md5importer.loader.ResourceLoader<IMD5Anim>
      extended by com.md5importer.loader.AnimLoader

public class AnimLoader
extends ResourceLoader<IMD5Anim>

AnimLoader is responsible for importing MD5Anim resources and constructing the final IMD5Anim instance.

AnimLoader is used by MD5Importer internally only.


Field Summary
 
Fields inherited from class com.md5importer.loader.ResourceLoader
base, reader, version
 
Constructor Summary
AnimLoader()
          Constructor of AnimLoader.
 
Method Summary
 void cleanup()
          Clean up the loader.
protected  IMD5Anim load(java.lang.String name)
          Load the data with given name.
 
Methods inherited from class com.md5importer.loader.ResourceLoader
load, readVector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimLoader

public AnimLoader()
Constructor of AnimLoader.

Method Detail

load

protected IMD5Anim load(java.lang.String name)
                 throws java.io.IOException
Description copied from class: ResourceLoader
Load the data with given name.

Specified by:
load in class ResourceLoader<IMD5Anim>
Parameters:
name - The String to set the result to.
Returns:
The T loaded data structure.
Throws:
java.io.IOException - If reading is interrupted.

cleanup

public void cleanup()
Description copied from class: ResourceLoader
Clean up the loader.

Specified by:
cleanup in class ResourceLoader<IMD5Anim>