com.jme3.export
インタフェース JmeExporter

既知の実装クラスの一覧:
XMLExporter

public interface JmeExporter

JmeExporter specifies an export implementation for jME3 data.


メソッドの概要
 OutputCapsule getCapsule(Savable object)
          Returns the OutputCapsule for the given savable object.
 boolean save(Savable object, java.io.File f)
          Export the Savable to a file.
 boolean save(Savable object, java.io.OutputStream f)
          Export the Savable to an OutputStream.
 

メソッドの詳細

save

boolean save(Savable object,
             java.io.OutputStream f)
             throws java.io.IOException
Export the Savable to an OutputStream.

パラメータ:
object - The savable to export
f - The output stream
戻り値:
Always returns true. If an error occurs during export, an exception is thrown
例外:
java.io.IOException - If an io exception occurs during export

save

boolean save(Savable object,
             java.io.File f)
             throws java.io.IOException
Export the Savable to a file.

パラメータ:
object - The savable to export
f - The file to export to
戻り値:
Always returns true. If an error occurs during export, an exception is thrown
例外:
java.io.IOException - If an io exception occurs during export

getCapsule

OutputCapsule getCapsule(Savable object)
Returns the OutputCapsule for the given savable object.

パラメータ:
object - The object to retrieve an output capsule for.
戻り値: