com.jmex.model.converters
Class AseToJme

java.lang.Object
  extended by com.jmex.model.converters.FormatConverter
      extended by com.jmex.model.converters.AseToJme

public class AseToJme
extends FormatConverter

Started Date: Jul 1, 2004

Converts .ase files to .jme format. Loads models but not animations.

Author:
Jack Lindamood

Field Summary
 
Fields inherited from class com.jmex.model.converters.FormatConverter
properties
 
Constructor Summary
AseToJme()
           
 
Method Summary
 void convert(java.io.InputStream ASEStream, java.io.OutputStream o)
          Creates a node from a .ase InputStream and then writes that node to the given OutputStream in jME's binary format
static void main(java.lang.String[] args)
          Converts an ase file to jme format.
 
Methods inherited from class com.jmex.model.converters.FormatConverter
attemptFileConvert, clearProperty, getProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AseToJme

public AseToJme()
Method Detail

main

public static void main(java.lang.String[] args)
Converts an ase file to jme format. The syntax is: AseToJme file.ase out.jme

Parameters:
args - The array of parameters

convert

public void convert(java.io.InputStream ASEStream,
                    java.io.OutputStream o)
             throws java.io.IOException
Creates a node from a .ase InputStream and then writes that node to the given OutputStream in jME's binary format

Specified by:
convert in class FormatConverter
Parameters:
ASEStream - An InputStream pointing to the .ase file
o - The stream to write it's binary equivalent to
Throws:
java.io.IOException - If anything funky goes wrong with reading information