Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.google.common.base.Splitter

Packages that use Splitter
com.google.common.base | Basic utility libraries and interfaces.

Uses of Splitter in com.google.common.base

Methods in com.google.common.base that return Splitter
`static Splitter` | `Splitter.fixedLength(int length)` Returns a splitter that divides strings into pieces of the given length.
`Splitter` | `Splitter.limit(int limit)` Returns a splitter that behaves equivalently to `this` splitter but stops splitting after it reaches the limit.
`Splitter` | `Splitter.omitEmptyStrings()` Returns a splitter that behaves equivalently to `this` splitter, but automatically omits empty strings from the results.
`static Splitter` | `Splitter.on(char separator)` Returns a splitter that uses the given single-character separator.
`static Splitter` | `Splitter.on(CharMatcher separatorMatcher)` Returns a splitter that considers any single character matched by the given `CharMatcher` to be a separator.
`static Splitter` | `Splitter.on(Pattern separatorPattern)` Returns a splitter that considers any subsequence matching `pattern` to be a separator.
`static Splitter` | `Splitter.on(String separator)` Returns a splitter that uses the given fixed string as a separator.
`static Splitter` | `Splitter.onPattern(String separatorPattern)` Returns a splitter that considers any subsequence matching a given pattern (regular expression) to be a separator.
`Splitter` | `Splitter.trimResults()` Returns a splitter that behaves equivalently to `this` splitter, but automatically removes leading and trailing whitespace from each returned substring; equivalent to `trimResults(CharMatcher.WHITESPACE)`.
`Splitter` | `Splitter.trimResults(CharMatcher trimmer)` Returns a splitter that behaves equivalently to `this` splitter, but removes all leading or trailing characters matching the given `CharMatcher` from each returned substring.

Methods in com.google.common.base with parameters of type Splitter
`Splitter.MapSplitter` | `Splitter.withKeyValueSeparator(Splitter keyValueSplitter)` Returns a `MapSplitter` which splits entries based on this splitter, and splits entries into keys and values using the specified key-value splitter.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2010-2011. All Rights Reserved.