Generated by
JDiff

Class com.google.common.io.Files

Removed Methods
void copy(InputSupplier<?, extends, InputStream>, File) Copies to a file all bytes from an InputStream supplied by a factory.
void copy(File, OutputSupplier<?, extends, OutputStream>) Copies all bytes from a file to an OutputStream supplied by a factory.
void copy(File, Charset, OutputSupplier<W>) Copies all characters from a file to a Appendable & Closeable object supplied by a factory, using the given character set.
 

Added Methods
void copy(InputSupplier<?, extends, InputStream>, File) Copies to a file all bytes from an InputStream supplied by a factory.
void copy(File, OutputSupplier<?, extends, OutputStream>) Copies all bytes from a file to an OutputStream supplied by a factory.
void copy(File, Charset, OutputSupplier<W>) Copies all characters from a file to a Appendable & Closeable object supplied by a factory, using the given character set.
 

Changed Methods
InputSupplier<FileInputStream> newInputStreamSupplier(File) Now deprecated.
Use {@link #asByteSource(File)}.
InputSupplier<InputStreamReader> newReaderSupplier(File, Charset) Now deprecated.
Use {@link #asCharSource(File, Charset)}.
void copy(InputSupplier<R>, File, Charset) Now deprecated.
Use {@code from.copyTo(Files.asCharSink(to, charset))} after changing {@code from} to a {@code CharSource} if necessary.
OutputSupplier<FileOutputStream> newOutputStreamSupplier(File) Now deprecated.
Use {@link #asByteSink(File)}.
OutputSupplier<FileOutputStream> newOutputStreamSupplier(File, boolean) Now deprecated.
Use {@link #asByteSink(File, FileWriteMode...)}, passing {@link FileWriteMode#APPEND} for append.
OutputSupplier<OutputStreamWriter> newWriterSupplier(File, Charset) Now deprecated.
Use {@link #asCharSink(File, Charset)}.
OutputSupplier<OutputStreamWriter> newWriterSupplier(File, Charset, boolean) Now deprecated.
Use {@link #asCharSink(File, Charset, FileWriteMode...)}, passing {@link FileWriteMode#APPEND} for append.