question: public static boolean save ( File file , String content ) { boolean result ; BufferedWriter writer ; writer = null ; try { writer = new BufferedWriter ( new FileWriter ( file ) ) ; writer . write ( content ) ; writer . flush ( ) ; result = true ; } catch ( Exception e ) { e . printStackTrace ( ) ; result = false ; } finally { if ( writer != null ) { try { writer . close ( ) ; } catch ( Exception e ) { } } } return result ; }
target:  Saves the content to a file.