| Package | Description |
|---|---|
| org.kocakosm.pitaya.util |
| Modifier and Type | Method and Description |
|---|---|
Joiner |
Joiner.ignoreEmptyStrings()
Returns a new
Joiner that will behave as this one except that
it will ignore empty input Strings. |
Joiner |
Joiner.ignoreNulls()
Returns a new
Joiner that will behave as this one except that
it will ignore null input values. |
static Joiner |
Joiner.on(String separator)
Returns a new
Joiner that will use the specified separator,
no prefix, no suffix and "null" for null values. |
Joiner |
Joiner.replaceEmptyStringWith(String forEmpty)
Returns a new
Joiner that will behave as this one except that
it will replace empty input Strings with the specified value. |
Joiner |
Joiner.replaceNullWith(String forNull)
Returns a new
Joiner that will behave as this one except that
it will replace null input values with the specified
String. |
Joiner |
Joiner.trimInputs()
Returns a new
Joiner that will behave as this one except that
it will trim inputs before joining them. |
Joiner |
Joiner.withPrefix(String prefix)
Returns a new
Joiner that will behave as this one except that
it will use the specified prefix when joining Strings. |
Joiner |
Joiner.withSuffix(String suffix)
Returns a new
Joiner that will behave as this one except that
it will use the specified suffix when joining Strings. |
Copyright © 2012–2015. All rights reserved.