com.jme.util.export
Interface JMEImporter
- All Known Implementing Classes:
- BinaryImporter, CloneImportExport, XMLImporter
public interface JMEImporter
This interface supports two conflicting use cases, and good design would
have a separate interface for each; but as things stand, "loaders" should
only use the load() methods, and reconstituting-jME-elements should only
use the getCapsule() method.
load
Savable load(java.io.InputStream f)
throws java.io.IOException
- Throws:
java.io.IOException
load
Savable load(java.net.URL f)
throws java.io.IOException
- Throws:
java.io.IOException
load
Savable load(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
getCapsule
InputCapsule getCapsule(Savable id)