question: public static boolean serializeSpecToFile ( SecuritySpecModel spec , String androidProjectRootPath ) { boolean saved = false ; String fileName = androidProjectRootPath + File . separator + Project . OUTPUT_DIR + File . separator + SECURITY_SPEC_SERIAL_FILE_NAME ; try { ObjectOutputStream oos = new ObjectOutputStream ( new BufferedOutputStream ( new FileOutputStream ( fileName ) ) ) ; try { oos . writeObject ( spec ) ; saved = true ; } finally { oos . close ( ) ; } } catch ( Exception ex ) { ex . printStackTrace ( ) ; } return saved ; }
target:  Serializes the current version of the spec to a file in the droidsafe folder of the current selected Android app.