public static List < Event > fromFile ( final File file ) throws IOException , ClassNotFoundException { return fromInputStream ( new FileInputStream ( file ) ) ; }
Given a file written by the serialization - writer library extract all events . This assumes the file was written using ObjectOutputStream .