| Package | Description |
|---|---|
| com.google.gdata.util.common.io |
| Modifier and Type | Method and Description |
|---|---|
static InputSupplier<Reader> |
CharStreams.join(InputSupplier<? extends Reader>... suppliers)
Varargs form of
CharStreams.join(Iterable). |
static InputSupplier<Reader> |
Characters.join(InputSupplier<? extends Reader>... suppliers)
Varargs form of
Characters.join(Iterable). |
static InputSupplier<Reader> |
CharStreams.join(Iterable<? extends InputSupplier<? extends Reader>> suppliers)
Joins multiple
Reader suppliers into a single supplier. |
static InputSupplier<Reader> |
Characters.join(Iterable<? extends InputSupplier<? extends Reader>> suppliers)
Joins multiple
Reader suppliers into a single supplier. |
static InputSupplier<InputStreamReader> |
CharStreams.newReaderSupplier(InputSupplier<? extends InputStream> in,
Charset charset)
Returns a factory that will supply instances of
InputStreamReader,
using the given InputStream factory and character set. |
static InputSupplier<InputStreamReader> |
Characters.newReaderSupplier(InputSupplier<? extends InputStream> in,
Charset charset)
Returns a factory that will supply instances of
InputStreamReader,
using the given InputStream factory and character set. |
static InputSupplier<StringReader> |
CharStreams.newReaderSupplier(String value)
Returns a factory that will supply instances of
StringReader that
read a string value. |
static InputSupplier<StringReader> |
Characters.newReaderSupplier(String value)
Returns a factory that will supply instances of
StringReader that
read a string value. |
| Modifier and Type | Method and Description |
|---|---|
static <R extends Readable & Closeable> |
CharStreams.copy(InputSupplier<R> from,
Appendable to)
Opens a
Readable object from the supplier, copies all characters
to the Appendable object, and closes the input. |
static <R extends Readable & Closeable> |
Characters.copy(InputSupplier<R> from,
Appendable to)
Opens a
Readable object from the supplier, copies all characters
to the Appendable object, and closes the input. |
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 InputSupplier<Reader> |
CharStreams.join(InputSupplier<? extends Reader>... suppliers)
Varargs form of
CharStreams.join(Iterable). |
static InputSupplier<Reader> |
Characters.join(InputSupplier<? extends Reader>... suppliers)
Varargs form of
Characters.join(Iterable). |
static InputSupplier<InputStreamReader> |
CharStreams.newReaderSupplier(InputSupplier<? extends InputStream> in,
Charset charset)
Returns a factory that will supply instances of
InputStreamReader,
using the given InputStream factory and character set. |
static InputSupplier<InputStreamReader> |
Characters.newReaderSupplier(InputSupplier<? extends InputStream> in,
Charset charset)
Returns a factory that will supply instances of
InputStreamReader,
using the given InputStream factory and character set. |
static <R extends Readable & Closeable> |
CharStreams.readFirstLine(InputSupplier<R> supplier)
|
static <R extends Readable & Closeable> |
Characters.readFirstLine(InputSupplier<R> supplier)
|
static <R extends Readable & Closeable> |
CharStreams.readLines(InputSupplier<R> supplier)
|
static <R extends Readable & Closeable> |
Characters.readLines(InputSupplier<R> supplier)
|
static <R extends Readable & Closeable,T> |
CharStreams.readLines(InputSupplier<R> supplier,
LineProcessor<T> callback)
|
static <R extends Readable & Closeable,T> |
Characters.readLines(InputSupplier<R> supplier,
LineProcessor<T> callback)
|
static <R extends Readable & Closeable> |
CharStreams.toString(InputSupplier<R> supplier)
|
static <R extends Readable & Closeable> |
Characters.toString(InputSupplier<R> supplier)
|
| Modifier and Type | Method and Description |
|---|---|
static InputSupplier<Reader> |
CharStreams.join(Iterable<? extends InputSupplier<? extends Reader>> suppliers)
Joins multiple
Reader suppliers into a single supplier. |
static InputSupplier<Reader> |
Characters.join(Iterable<? extends InputSupplier<? extends Reader>> suppliers)
Joins multiple
Reader suppliers into a single supplier. |
Copyright © 2012. All Rights Reserved.