com.sun.j3d.utils.scenegraph.io.retained
Class J3fOutputStream

java.lang.Object
  extended by com.sun.j3d.utils.scenegraph.io.retained.J3fOutputStream
All Implemented Interfaces:
java.io.DataOutput

public class J3fOutputStream
extends java.lang.Object
implements java.io.DataOutput

J3fOutputStream class for SceneGraph I/O.


Constructor Summary
J3fOutputStream(java.io.OutputStream stream)
          Creates new J3fInputStream
 
Method Summary
 long getFilePointer()
           
 void seekForward(long position)
          Move the file pointer to the specified position.
 void write(byte[] p1)
           
 void write(byte[] p1, int p2, int p3)
           
 void write(int p1)
           
 void writeBoolean(boolean p1)
           
 void writeByte(int p1)
           
 void writeBytes(java.lang.String p1)
           
 void writeChar(int p1)
           
 void writeChars(java.lang.String p1)
           
 void writeDouble(double p1)
           
 void writeFloat(float p1)
           
 void writeInt(int p1)
           
 void writeLong(long p1)
           
 void writeShort(int p1)
           
 void writeUTF(java.lang.String p1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J3fOutputStream

public J3fOutputStream(java.io.OutputStream stream)
Creates new J3fInputStream

Method Detail

seekForward

public void seekForward(long position)
                 throws java.io.IOException
Move the file pointer to the specified position. The position MUST be greater or equal to the current position

Throws:
java.io.IOException

getFilePointer

public long getFilePointer()

write

public void write(byte[] p1,
                  int p2,
                  int p3)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput
Throws:
java.io.IOException

writeFloat

public void writeFloat(float p1)
                throws java.io.IOException
Specified by:
writeFloat in interface java.io.DataOutput
Throws:
java.io.IOException

write

public void write(int p1)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput
Throws:
java.io.IOException

writeShort

public void writeShort(int p1)
                throws java.io.IOException
Specified by:
writeShort in interface java.io.DataOutput
Throws:
java.io.IOException

writeBytes

public void writeBytes(java.lang.String p1)
                throws java.io.IOException
Specified by:
writeBytes in interface java.io.DataOutput
Throws:
java.io.IOException

writeChar

public void writeChar(int p1)
               throws java.io.IOException
Specified by:
writeChar in interface java.io.DataOutput
Throws:
java.io.IOException

writeByte

public void writeByte(int p1)
               throws java.io.IOException
Specified by:
writeByte in interface java.io.DataOutput
Throws:
java.io.IOException

writeLong

public void writeLong(long p1)
               throws java.io.IOException
Specified by:
writeLong in interface java.io.DataOutput
Throws:
java.io.IOException

writeBoolean

public void writeBoolean(boolean p1)
                  throws java.io.IOException
Specified by:
writeBoolean in interface java.io.DataOutput
Throws:
java.io.IOException

writeUTF

public void writeUTF(java.lang.String p1)
              throws java.io.IOException
Specified by:
writeUTF in interface java.io.DataOutput
Throws:
java.io.IOException

writeInt

public void writeInt(int p1)
              throws java.io.IOException
Specified by:
writeInt in interface java.io.DataOutput
Throws:
java.io.IOException

writeChars

public void writeChars(java.lang.String p1)
                throws java.io.IOException
Specified by:
writeChars in interface java.io.DataOutput
Throws:
java.io.IOException

write

public void write(byte[] p1)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput
Throws:
java.io.IOException

writeDouble

public void writeDouble(double p1)
                 throws java.io.IOException
Specified by:
writeDouble in interface java.io.DataOutput
Throws:
java.io.IOException