Uses of Class
com.google.common.base.Splitter
Packages that use Splitter
Package
Description
Basic utility libraries and interfaces.
This package contains caching utilities.
This package contains utility methods and classes for working with Java I/O; for example input
streams, output streams, readers, writers, and files.
This package contains utility methods and classes for working with net addresses (numeric IP and
domain names).
This package contains utilities to work with Java reflection.
This package contains testing utilities.
-
Uses of Splitter in com.google.common.base
Fields in com.google.common.base declared as SplitterModifier and TypeFieldDescriptionprivate final SplitterSplitter.MapSplitter.entrySplitterprivate final SplitterSplitter.MapSplitter.outerSplitterMethods in com.google.common.base that return SplitterModifier and TypeMethodDescriptionstatic SplitterSplitter.fixedLength(int length) Returns a splitter that divides strings into pieces of the given length.Splitter.limit(int maxItems) Returns a splitter that behaves equivalently tothissplitter but stops splitting after it reaches the limit.Splitter.omitEmptyStrings()Returns a splitter that behaves equivalently tothissplitter, but automatically omits empty strings from the results.static SplitterSplitter.on(char separator) Returns a splitter that uses the given single-character separator.static SplitterSplitter.on(CharMatcher separatorMatcher) Returns a splitter that considers any single character matched by the givenCharMatcherto be a separator.private static SplitterSplitter.on(CommonPattern separatorPattern) static SplitterReturns a splitter that uses the given fixed string as a separator.static SplitterReturns a splitter that considers any subsequence matchingpatternto be a separator.static SplitterReturns a splitter that considers any subsequence matching a given pattern (regular expression) to be a separator.Splitter.trimResults()Returns a splitter that behaves equivalently tothissplitter, but automatically removes leading and trailing whitespace from each returned substring; equivalent totrimResults(CharMatcher.whitespace()).Splitter.trimResults(CharMatcher trimmer) Returns a splitter that behaves equivalently tothissplitter, but removes all leading or trailing characters matching the givenCharMatcherfrom each returned substring.Methods in com.google.common.base with parameters of type SplitterModifier and TypeMethodDescriptionSplitter.Strategy.iterator(Splitter splitter, CharSequence toSplit) Splitter.withKeyValueSeparator(Splitter keyValueSplitter) Returns aMapSplitterwhich 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 SplitterModifierConstructorDescriptionprivateMapSplitter(Splitter outerSplitter, Splitter entrySplitter) protectedSplittingIterator(Splitter splitter, CharSequence toSplit) -
Uses of Splitter in com.google.common.cache
Fields in com.google.common.cache declared as SplitterModifier and TypeFieldDescriptionprivate static final SplitterCacheBuilderSpec.KEY_VALUE_SPLITTERSplits the key from the value.private static final SplitterCacheBuilderSpec.KEYS_SPLITTERSplits each key-value pair. -
Uses of Splitter in com.google.common.io
Fields in com.google.common.io declared as SplitterModifier and TypeFieldDescriptionprivate static final SplitterCharSource.CharSequenceCharSource.LINE_SPLITTER -
Uses of Splitter in com.google.common.net
Fields in com.google.common.net declared as Splitter -
Uses of Splitter in com.google.common.reflect
Fields in com.google.common.reflect declared as SplitterModifier and TypeFieldDescriptionprivate static final SplitterClassPath.CLASS_PATH_ATTRIBUTE_SEPARATORSeparator 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 SplitterModifier and TypeMethodDescription(package private) SplitterFreshValueGenerator.generateSplitter()