| Package | Description |
|---|---|
| org.kocakosm.pitaya.util |
| Modifier and Type | Method and Description |
|---|---|
Splitter |
Splitter.ignoreEmptyStrings()
Returns a new
Splitter that will behave as this one except
that it will ignore empty results. |
Splitter |
Splitter.ignorePrefix(String prefix)
Returns a new
Splitter that will behave as this one except
that it will ignore the given prefix. |
Splitter |
Splitter.ignoreSuffix(String suffix)
Returns a new
Splitter that will behave as this one except
that it will ignore the given suffix. |
Splitter |
Splitter.limit(int limit)
Returns a new
Splitter that will behave as this one except
that it will limit the number of times the splitting pattern is
applied. |
static Splitter |
Splitter.on(Pattern pattern)
Returns a new
Splitter that will use the specified pattern
to split Strings. |
static Splitter |
Splitter.on(String separator)
Returns a new
Splitter that will use the specified separator
to split Strings. |
Splitter |
Splitter.replaceEmptyStringWith(String forEmpty)
Returns a new
Splitter that will behave as this one except
that it will replace empty results by the specified String. |
Splitter |
Splitter.trimResults()
Returns a new
Splitter that will behave as this one except
that it will trim splitting results. |
Copyright © 2012–2015. All rights reserved.