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 SummaryModifier and TypeMethodDescriptiongetCapsule(Savable object) Returns theOutputCapsulefor the given savable object.default voidExport theSavableto a file.voidExport theSavableto a file.voidsave(Savable object, OutputStream f) Export theSavableto an OutputStream.
- 
Method Details- 
saveExport theSavableto an OutputStream.- Parameters:
- object- The savable to export
- f- The output stream
- Throws:
- IOException- If an io exception occurs during export
 
- 
saveExport theSavableto a file. If the path to the file doesn't exist, the directories are made.- Parameters:
- object- The savable to export
- f- The file to export to
- Throws:
- IOException- If an io exception occurs during export
 
- 
saveExport theSavableto a file. If the path to the file doesn't exist, the parent directories can be created if thecreateDirectoriesflag is true. If the path does not exist andcreateDirectoriesis false, then an exception is thrown.- Parameters:
- object- The savable to export
- f- The file to export to
- createDirectories- flag to indicate if the directories should be created
- Throws:
- IOException- If an io exception occurs during export
 
- 
getCapsuleReturns theOutputCapsulefor the given savable object.- Parameters:
- object- The object to retrieve an output capsule for.
- Returns:
- the OutputCapsulefor the given savable object.
 
 
-