@ Beta public static BufferedReader newReader ( File file , Charset charset ) throws FileNotFoundException { checkNotNull ( file ) ; checkNotNull ( charset ) ; return new BufferedReader ( new InputStreamReader ( new FileInputStream ( file ) , charset ) ) ; }
Returns a buffered reader that reads from a file using the given character set .