Package com.jme3.export
Interface JmeExporter
- All Known Implementing Classes:
BinaryExporter,J3MExporter,XMLExporter
public interface JmeExporter
JmeExporter specifies an export implementation for jME3
data.-
Method Summary
Modifier and TypeMethodDescriptiongetCapsule(Savable object) Returns theOutputCapsulefor the given savable object.voidExport theSavableto a file.voidsave(Savable object, OutputStream f) Export theSavableto an OutputStream.
-
Method Details
-
save
Export theSavableto an OutputStream.- Parameters:
object- The savable to exportf- The output stream- Throws:
IOException- If an io exception occurs during export
-
save
Export theSavableto a file.- Parameters:
object- The savable to exportf- The file to export to- Throws:
IOException- If an io exception occurs during export
-
getCapsule
Returns theOutputCapsulefor the given savable object.- Parameters:
object- The object to retrieve an output capsule for.- Returns:
- the
OutputCapsulefor the given savable object.
-