Uses of Class
com.google.common.base.Splitter
-
Packages that use Splitter Package Description com.google.common.base Basic utility libraries and interfaces.com.google.common.cache This package contains caching utilities.com.google.common.io This package contains utility methods and classes for working with Java I/O; for example input streams, output streams, readers, writers, and files.com.google.common.net This package contains utility methods and classes for working with net addresses (numeric IP and domain names).com.google.common.reflect This package contains utilities to work with Java reflection.com.google.common.testing This package contains testing utilities. -
-
Uses of Splitter in com.google.common.base
Fields in com.google.common.base declared as Splitter Modifier and Type Field Description private Splitter
Splitter.MapSplitter. entrySplitter
private Splitter
Splitter.MapSplitter. outerSplitter
Methods in com.google.common.base that return Splitter Modifier and Type Method Description static Splitter
Splitter. fixedLength(int length)
Returns a splitter that divides strings into pieces of the given length.Splitter
Splitter. limit(int maxItems)
Returns a splitter that behaves equivalently tothis
splitter but stops splitting after it reaches the limit.Splitter
Splitter. omitEmptyStrings()
Returns a splitter that behaves equivalently tothis
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 givenCharMatcher
to be a separator.private static Splitter
Splitter. on(CommonPattern separatorPattern)
static Splitter
Splitter. on(java.lang.String separator)
Returns a splitter that uses the given fixed string as a separator.static Splitter
Splitter. on(java.util.regex.Pattern separatorPattern)
Returns a splitter that considers any subsequence matchingpattern
to be a separator.static Splitter
Splitter. onPattern(java.lang.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 tothis
splitter, but automatically removes leading and trailing whitespace from each returned substring; equivalent totrimResults(CharMatcher.whitespace())
.Splitter
Splitter. trimResults(CharMatcher trimmer)
Returns a splitter that behaves equivalently tothis
splitter, but removes all leading or trailing characters matching the givenCharMatcher
from each returned substring.Methods in com.google.common.base with parameters of type Splitter Modifier and Type Method Description java.util.Iterator<java.lang.String>
Splitter.Strategy. iterator(Splitter splitter, java.lang.CharSequence toSplit)
Splitter.MapSplitter
Splitter. withKeyValueSeparator(Splitter keyValueSplitter)
Returns aMapSplitter
which splits entries based on this splitter, and splits entries into keys and values using the specified key-value splitter.Constructors in com.google.common.base with parameters of type Splitter Constructor Description MapSplitter(Splitter outerSplitter, Splitter entrySplitter)
SplittingIterator(Splitter splitter, java.lang.CharSequence toSplit)
-
Uses of Splitter in com.google.common.cache
Fields in com.google.common.cache declared as Splitter Modifier and Type Field Description private static Splitter
CacheBuilderSpec. KEY_VALUE_SPLITTER
Splits the key from the value.private static Splitter
CacheBuilderSpec. KEYS_SPLITTER
Splits each key-value pair. -
Uses of Splitter in com.google.common.io
Fields in com.google.common.io declared as Splitter Modifier and Type Field Description private static Splitter
CharSource.CharSequenceCharSource. LINE_SPLITTER
-
Uses of Splitter in com.google.common.net
Fields in com.google.common.net declared as Splitter Modifier and Type Field Description private static Splitter
InternetDomainName. DOT_SPLITTER
-
Uses of Splitter in com.google.common.reflect
Fields in com.google.common.reflect declared as Splitter Modifier and Type Field Description private static Splitter
ClassPath. CLASS_PATH_ATTRIBUTE_SEPARATOR
Separator for the Class-Path manifest attribute value in jar files. -
Uses of Splitter in com.google.common.testing
Methods in com.google.common.testing that return Splitter Modifier and Type Method Description private Splitter
FreshValueGenerator. generateSplitter()
-