com.model.md5.importer.resource
Class AnimImporter

java.lang.Object
  extended by com.model.md5.importer.resource.ResourceImporter<IMD5Animation>
      extended by com.model.md5.importer.resource.AnimImporter

public class AnimImporter
extends ResourceImporter<IMD5Animation>

AnimImporter is responsible for importing MD5Anim resources and constructing the final IMD5Animation instance.

AnimImporter is used by MD5Importer internally only.


Field Summary
 
Fields inherited from class com.model.md5.importer.resource.ResourceImporter
base, reader, version
 
Constructor Summary
AnimImporter()
          Constructor of AnimImporter.
 
Method Summary
 void cleanup()
          Clean up the importer.
protected  IMD5Animation load(java.lang.String name)
          Load the data with given name.
 
Methods inherited from class com.model.md5.importer.resource.ResourceImporter
load, readVector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimImporter

public AnimImporter()
Constructor of AnimImporter.

Method Detail

load

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

Specified by:
load in class ResourceImporter<IMD5Animation>
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: ResourceImporter
Clean up the importer.

Specified by:
cleanup in class ResourceImporter<IMD5Animation>