Interface JmeExporter

All Known Implementing Classes:
BinaryExporter, J3MExporter, XMLExporter

public interface JmeExporter
JmeExporter specifies an export implementation for jME3 data.
  • Method Details

    • save

      void save(Savable object, OutputStream f) throws IOException
      Export the Savable to an OutputStream.
      Parameters:
      object - The savable to export
      f - The output stream
      Throws:
      IOException - If an io exception occurs during export
    • save

      void save(Savable object, File f) throws IOException
      Export the Savable to a file.
      Parameters:
      object - The savable to export
      f - The file to export to
      Throws:
      IOException - If an io exception occurs during export
    • getCapsule

      OutputCapsule getCapsule(Savable object)
      Returns the OutputCapsule for the given savable object.
      Parameters:
      object - The object to retrieve an output capsule for.
      Returns:
      the OutputCapsule for the given savable object.