Uses of Interface
com.google.common.io.OutputSupplier

Packages that use OutputSupplier
com.google.common.io This package contains utility methods and classes for working with Java I/O, for example input streams, output streams, readers, writers, and files. 
 

Uses of OutputSupplier in com.google.common.io
 

Methods in com.google.common.io that return OutputSupplier
static OutputSupplier<java.io.FileOutputStream> Files.newOutputStreamSupplier(java.io.File file)
          Returns a factory that will supply instances of FileOutputStream that write to a file.
static OutputSupplier<java.io.FileOutputStream> Files.newOutputStreamSupplier(java.io.File file, boolean append)
          Returns a factory that will supply instances of FileOutputStream that write to or append to a file.
static OutputSupplier<java.io.OutputStreamWriter> Files.newWriterSupplier(java.io.File file, java.nio.charset.Charset charset)
          Returns a factory that will supply instances of OutputStreamWriter that write to a file using the given character set.
static OutputSupplier<java.io.OutputStreamWriter> Files.newWriterSupplier(java.io.File file, java.nio.charset.Charset charset, boolean append)
          Returns a factory that will supply instances of OutputStreamWriter that write to or append to a file using the given character set.
static OutputSupplier<java.io.OutputStreamWriter> CharStreams.newWriterSupplier(OutputSupplier<? extends java.io.OutputStream> out, java.nio.charset.Charset charset)
          Returns a factory that will supply instances of OutputStreamWriter, using the given OutputStream factory and character set.
 

Methods in com.google.common.io with parameters of type OutputSupplier
static
<W extends java.lang.Appendable & java.io.Closeable>
void
Files.copy(java.io.File from, java.nio.charset.Charset charset, OutputSupplier<W> to)
          Copies all characters from a file to a Appendable & Closeable object supplied by a factory, using the given character set.
static void Files.copy(java.io.File from, OutputSupplier<? extends java.io.OutputStream> to)
          Copies all bytes from a file to an OutputStream supplied by a factory.
static long ByteStreams.copy(InputSupplier<? extends java.io.InputStream> from, OutputSupplier<? extends java.io.OutputStream> to)
          Opens input and output streams from the given suppliers, copies all bytes from the input to the output, and closes the streams.
static
<R extends java.lang.Readable & java.io.Closeable,W extends java.lang.Appendable & java.io.Closeable>
long
CharStreams.copy(InputSupplier<R> from, OutputSupplier<W> to)
          Opens Readable and Appendable objects from the given factories, copies all characters between the two, and closes them.
static OutputSupplier<java.io.OutputStreamWriter> CharStreams.newWriterSupplier(OutputSupplier<? extends java.io.OutputStream> out, java.nio.charset.Charset charset)
          Returns a factory that will supply instances of OutputStreamWriter, using the given OutputStream factory and character set.
static void ByteStreams.write(byte[] from, OutputSupplier<? extends java.io.OutputStream> to)
          Writes a byte array to an output stream from the given supplier.
static
<W extends java.lang.Appendable & java.io.Closeable>
void
CharStreams.write(java.lang.CharSequence from, OutputSupplier<W> to)
          Writes a character sequence (such as a string) to an appendable object from the given supplier.