Package com.google.api.client.util
Class Joiner
java.lang.Object
com.google.api.client.util.Joiner
An object which joins pieces of text (specified as an array,
Iterable
, varargs or even a
Map
) with a separator.
NOTE: proxy for the Guava implementation of Joiner
.
- Since:
- 1.14
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.common.base.Joiner
Wrapped joiner. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
wrapped
private final com.google.common.base.Joiner wrappedWrapped joiner.
-
-
Constructor Details
-
Joiner
private Joiner(com.google.common.base.Joiner wrapped) - Parameters:
wrapped
- wrapped joiner
-
-
Method Details
-
on
Returns a joiner which automatically placesseparator
between consecutive elements. -
join
Returns a string containing the string representation of each ofparts
, using the previously configured separator between each.
-