Uses of Class
cloud.opencode.base.core.Splitter
Packages that use Splitter
Package
Description
Core utilities and foundational classes for the OpenCode Base library.
-
Uses of Splitter in cloud.opencode.base.core
Methods in cloud.opencode.base.core that return SplitterModifier and TypeMethodDescriptionstatic SplitterSplitter.fixedLength(int length) Creates a splitter that splits strings into fixed-length parts.Splitter.limit(int limit) Returns a splitter that limits the number of parts.Splitter.omitEmptyStrings()Returns a splitter that omits empty strings from results.static SplitterSplitter.on(char separator) Creates a splitter that uses the given character as separator.static SplitterCreates a splitter that uses the given string as separator.static SplitterCreates a splitter that uses the given pattern as separator.static SplitterCreates a splitter that uses the given regex pattern as separator.Splitter.trimResults()Returns a splitter that trims whitespace from results.Splitter.trimResults(Function<String, String> trimFunction) Returns a splitter that trims results using the given function.Methods in cloud.opencode.base.core with parameters of type SplitterModifier and TypeMethodDescriptionSplitter.withKeyValueSeparator(Splitter kvSplitter) Returns a map splitter using the given splitter for key-value pairs.