/guava/android/guava/src/com/google/common/io/Files.java
checkNotNull( to) ;checkNotNull( charset) ;
checkNotNull ( charset ) ;
@GwtIncompatible @ElementTypesAreNonnullByDefault public final class Files { private Files() {} public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException { checkNotNull(file); <extra_id_0> return new BufferedReader(new InputStreamReader(new FileInputStream(file), charset)); } public static BufferedWriter newWriter(File file, Charset charset) throws FileNotFoundException { checkNotNull(file); checkNotNull(charset); return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset));