public static PrintWriter newPrintWriter ( Path self , String charset ) throws IOException { return new GroovyPrintWriter ( newWriter ( self , charset ) ) ; }
Create a new PrintWriter for this file using specified charset .