| Package | Description |
|---|---|
| com.google.gdata.util.common.io |
| Modifier and Type | Method and Description |
|---|---|
static OutputSupplier<OutputStreamWriter> |
CharStreams.newWriterSupplier(OutputSupplier<? extends OutputStream> out,
Charset charset)
Returns a factory that will supply instances of
OutputStreamWriter,
using the given OutputStream factory and character set. |
static OutputSupplier<OutputStreamWriter> |
Characters.newWriterSupplier(OutputSupplier<? extends OutputStream> out,
Charset charset)
Returns a factory that will supply instances of
OutputStreamWriter,
using the given OutputStream factory and character set. |
| Modifier and Type | Method and Description |
|---|---|
static <R extends Readable & Closeable,W extends Appendable & Closeable> |
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 <R extends Readable & Closeable,W extends Appendable & Closeable> |
Characters.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<OutputStreamWriter> |
CharStreams.newWriterSupplier(OutputSupplier<? extends OutputStream> out,
Charset charset)
Returns a factory that will supply instances of
OutputStreamWriter,
using the given OutputStream factory and character set. |
static OutputSupplier<OutputStreamWriter> |
Characters.newWriterSupplier(OutputSupplier<? extends OutputStream> out,
Charset charset)
Returns a factory that will supply instances of
OutputStreamWriter,
using the given OutputStream factory and character set. |
static <W extends Appendable & Closeable> |
CharStreams.write(CharSequence from,
OutputSupplier<W> to)
Writes a character sequence (such as a string) to an appendable
object from the given supplier.
|
static <W extends Appendable & Closeable> |
Characters.write(CharSequence from,
OutputSupplier<W> to)
Writes a character sequence (such as a string) to an appendable
object from the given supplier.
|
Copyright © 2012. All Rights Reserved.