|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j3d.utils.scenegraph.io.retained.Controller
com.sun.j3d.utils.scenegraph.io.retained.StreamControl
public class StreamControl
Provides the infrastructure for ScenGraphStream Reader and Writer
Constructor Summary | |
---|---|
StreamControl(java.io.DataInputStream in)
|
|
StreamControl(java.io.DataOutputStream out)
|
Method Summary | |
---|---|
void |
addNamedObjects(java.util.HashMap namedObjects)
Add the named objects to the symbol table |
void |
close()
|
long |
getFilePointer()
Implementation of abstract method from Controller. |
void |
loadNodeComponent(SymbolTableData symbol)
Used by SymbolTable to load a node component that is not in current graph |
javax.media.j3d.BranchGroup |
readBranchGraph(java.util.HashMap namedObjects)
|
void |
readStreamHeader()
|
void |
writeBranchGraph(javax.media.j3d.BranchGroup bg,
java.io.Serializable userData)
The BranchGraph userData is not supported in a stream and will be ignored. |
void |
writeStreamHeader()
Prepare the Stream for writing, by sending header information |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamControl(java.io.DataOutputStream out)
public StreamControl(java.io.DataInputStream in)
Method Detail |
---|
public void writeStreamHeader() throws java.io.IOException
java.io.IOException
public void readStreamHeader() throws java.io.IOException
java.io.IOException
public void addNamedObjects(java.util.HashMap namedObjects)
public void writeBranchGraph(javax.media.j3d.BranchGroup bg, java.io.Serializable userData) throws java.io.IOException
writeBranchGraph
in class Controller
java.io.IOException
public javax.media.j3d.BranchGroup readBranchGraph(java.util.HashMap namedObjects) throws java.io.IOException
java.io.IOException
public void loadNodeComponent(SymbolTableData symbol) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in class Controller
java.io.IOException
public long getFilePointer()
getFilePointer
in class Controller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |