org.jagatoo.loaders.models.cal3d.core
Class CalPlatform

java.lang.Object
  extended by org.jagatoo.loaders.models.cal3d.core.CalPlatform

public class CalPlatform
extends java.lang.Object


Constructor Summary
CalPlatform()
           
 
Method Summary
static org.openmali.vecmath2.Colorf readColour(java.io.DataInput file)
           
static java.lang.String readString(java.io.DataInput file)
           
static void writeColour(java.io.DataOutput file, org.openmali.vecmath2.Colorf colorf)
           
static void writeString(java.io.DataOutput file, java.lang.String strValue)
          Writes a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalPlatform

public CalPlatform()
Method Detail

readString

public static java.lang.String readString(java.io.DataInput file)
                                   throws java.io.IOException
Throws:
java.io.IOException

readColour

public static org.openmali.vecmath2.Colorf readColour(java.io.DataInput file)
                                               throws java.io.IOException
Throws:
java.io.IOException

writeColour

public static void writeColour(java.io.DataOutput file,
                               org.openmali.vecmath2.Colorf colorf)
                        throws java.io.IOException
Throws:
java.io.IOException

writeString

public static void writeString(java.io.DataOutput file,
                               java.lang.String strValue)
                        throws java.io.IOException
Writes a string. This function writes a string to a file stream.

Parameters:
file - The file stream to write the string to.
strValue - A reference to the string that should be written.
Throws:
java.io.IOException