Java com.google.common.base Splitter fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.base Splitter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.base Splitter.

The text is from its open source code.

Implementation

com.google.common.base.Splitter has the following implementations.
Click this link to see all its implementation.

Field

Method

SplitterfixedLength(final int length)
Returns a splitter that divides strings into pieces of the given length.
Splitteron(char separator)
Returns a splitter that uses the given single-character separator.
Splitteron(final CharMatcher separatorMatcher)
Returns a splitter that considers any single character matched by the given CharMatcher to be a separator.
Splitteron(final String separator)
Returns a splitter that uses the given fixed string as a separator.
Splitteron(final Pattern separatorPattern)
Returns a splitter that considers any subsequence matching pattern to be a separator.
SplitteronPattern(String separatorPattern)
Returns a splitter that considers any subsequence matching a given pattern (regular expression) to be a separator.
Iterablesplit(final CharSequence sequence)
Splits sequence into string components and makes them available through an Iterator , which may be lazily evaluated.
ListsplitToList(CharSequence sequence)
Splits sequence into string components and returns them as an immutable list.
SplittertrimResults()
Returns a splitter that behaves equivalently to this splitter, but automatically removes leading and trailing CharMatcher#WHITESPACE whitespace from each returned substring; equivalent to trimResults(CharMatcher.WHITESPACE) .
MapSplitterwithKeyValueSeparator(String separator)
Returns a MapSplitter which splits entries based on this splitter, and splits entries into keys and values using the specified separator.
MapSplitterwithKeyValueSeparator(char separator)
Returns a MapSplitter which splits entries based on this splitter, and splits entries into keys and values using the specified separator.
MapSplitterwithKeyValueSeparator(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.