|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.scene.model.XMLparser.JmeBinaryWriter
Started Date: Jun 25, 2004
This class converts a scenegraph to jME binary format. Even though this
class's name ends with Writer, it does not extend Writer
| Constructor Summary | |
JmeBinaryWriter()
Creates a new Binary Writer. |
|
| Method Summary | |
void |
clearProperty(java.lang.String key)
Removes a property. |
void |
setProperty(java.lang.String key,
java.lang.Object property)
Adds a property . |
void |
writeScene(Geometry geo,
java.io.OutputStream bin)
Converts a given Geometry to jME's binary format. |
void |
writeScene(Node scene,
java.io.OutputStream bin)
Converts a given node to jME's binary format. |
void |
writeScene(Spatial spatial,
java.io.OutputStream jMEFormat)
Writes a spatial to jME's binary format. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JmeBinaryWriter()
| Method Detail |
public void writeScene(Node scene,
java.io.OutputStream bin)
throws java.io.IOException
scene - The node to savebin - The OutputStream that will store the binary format
java.io.IOException - If anything wierd happens.
public void writeScene(Spatial spatial,
java.io.OutputStream jMEFormat)
throws java.io.IOException
spatial - The spatial to write.jMEFormat - The OutputStream to write it too.
java.io.IOException - If anything wierd happens.
public void writeScene(Geometry geo,
java.io.OutputStream bin)
throws java.io.IOException
geo - The Geometry to savebin - The OutputStream that will store the binary format
java.io.IOException - If anything wierd happens.
public void setProperty(java.lang.String key,
java.lang.Object property)
key - Key to add (For example "texdir")property - Property for that key to have (For example "c:\\blarg\\")public void clearProperty(java.lang.String key)
key - The property to remove.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||