M3GToolkit 0.5.0

com.java4ever.m3g
Class M3GOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended bycom.java4ever.m3g.M3GOutputStream

public class M3GOutputStream
extends java.io.FilterOutputStream


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
M3GOutputStream(java.io.OutputStream os)
           
 
Method Summary
 long getAdler32Value()
           
 void resetAdler32()
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 void writeBoolean(boolean b)
           
 void writeByte(byte b)
           
 void writeByte(int b)
           
 void writeColorRGB(int rgb)
           
 void writeColorRGBA(int argb)
           
 void writeFloat32(float f)
           
 void writeInt16(int i)
           
 void writeInt16(short s)
           
 void writeInt32(int i)
           
 void writeMatrix(Transform m)
           
 void writeObjectIndex(int index)
           
 void writeString(java.lang.String s)
           
 void writeUInt16(int i)
           
 void writeUInt16(short s)
           
 void writeUInt32(int i)
           
 void writeVector3D(float[] v)
           
 
Methods inherited from class java.io.FilterOutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

M3GOutputStream

public M3GOutputStream(java.io.OutputStream os)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

writeByte

public void writeByte(byte b)
               throws java.io.IOException
Throws:
java.io.IOException

writeByte

public void writeByte(int b)
               throws java.io.IOException
Throws:
java.io.IOException

writeInt16

public void writeInt16(short s)
                throws java.io.IOException
Throws:
java.io.IOException

writeInt16

public void writeInt16(int i)
                throws java.io.IOException
Throws:
java.io.IOException

writeUInt16

public void writeUInt16(short s)
                 throws java.io.IOException
Throws:
java.io.IOException

writeUInt16

public void writeUInt16(int i)
                 throws java.io.IOException
Throws:
java.io.IOException

writeInt32

public void writeInt32(int i)
                throws java.io.IOException
Throws:
java.io.IOException

writeUInt32

public void writeUInt32(int i)
                 throws java.io.IOException
Throws:
java.io.IOException

writeFloat32

public void writeFloat32(float f)
                  throws java.io.IOException
Throws:
java.io.IOException

writeString

public void writeString(java.lang.String s)
                 throws java.io.IOException
Throws:
java.io.IOException

writeBoolean

public void writeBoolean(boolean b)
                  throws java.io.IOException
Throws:
java.io.IOException

writeVector3D

public void writeVector3D(float[] v)
                   throws java.io.IOException
Throws:
java.io.IOException

writeMatrix

public void writeMatrix(Transform m)
                 throws java.io.IOException
Throws:
java.io.IOException

writeColorRGB

public void writeColorRGB(int rgb)
                   throws java.io.IOException
Throws:
java.io.IOException

writeColorRGBA

public void writeColorRGBA(int argb)
                    throws java.io.IOException
Throws:
java.io.IOException

writeObjectIndex

public void writeObjectIndex(int index)
                      throws java.io.IOException
Throws:
java.io.IOException

resetAdler32

public void resetAdler32()

getAdler32Value

public long getAdler32Value()

M3GToolkit 0.5.0

Copyright 2005 java4ever.com. All Rights Reserved.