public static BufferedWriter newWriter ( File file , String charset ) throws IOException { return newWriter ( file , charset , false ) ; }
Creates a buffered writer for this file writing data without writing a BOM using a specified encoding .