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 theOutputCapsule
for the given savable object.void
Export theSavable
to a file.void
save
(Savable object, OutputStream f) Export theSavable
to an OutputStream.
-
Method Details
-
save
Export theSavable
to an OutputStream.- Parameters:
object
- The savable to exportf
- The output stream- Throws:
IOException
- If an io exception occurs during export
-
save
Export theSavable
to a file.- Parameters:
object
- The savable to exportf
- The file to export to- Throws:
IOException
- If an io exception occurs during export
-
getCapsule
Returns theOutputCapsule
for the given savable object.- Parameters:
object
- The object to retrieve an output capsule for.- Returns:
- the
OutputCapsule
for the given savable object.
-