Package com.github.stephengold.joltjni
Class ObjectStreamIn
java.lang.Object
com.github.stephengold.joltjni.ObjectStreamIn
Utility class for reading Jolt Physics objects from files.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleansReadObject(String fileName, Ref storeRef) Read an object from the specified file.
-
Method Details
-
sReadObject
Read an object from the specified file.- Parameters:
fileName- the path to the file (not null)storeRef- where to store the de-serialized object (not null, modified)- Returns:
- true if successful, otherwise false
-