Class ObjectStreamIn

java.lang.Object
com.github.stephengold.joltjni.ObjectStreamIn

public class ObjectStreamIn extends Object
Utility class for reading Jolt Physics objects from files.
  • Method Details

    • sReadObject

      public static boolean sReadObject(String fileName, Ref storeRef)
      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