question: public boolean zip ( String zipLocation , String toBeZippedName ) { boolean ret = false ; if ( verbose ) Debug . put ( "zip" ) ; File toBeZipped = new File ( toBeZippedName ) ; if ( toBeZipped . exists ( ) ) { try { FileUtils . saveZipFile ( zipLocation , toBeZipped ) ; ret = true ; } catch ( FileNotFoundException e ) { e . printStackTrace ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } } return ret ; }
target:  Store the contents of the toBeZippedName directory into a zip file with the provided name. If the zip file name doesn't end in .zip, it will.