Index
All Classes and Interfaces|All Packages|Serialized Form
A
- abbreviate(String, int) - Static method in class cloud.opencode.base.string.abbr.OpenAbbreviation
- abbreviate(String, int) - Static method in class cloud.opencode.base.string.OpenString
-
Abbreviate a string using ellipsis ("...") if it exceeds the maximum width.
- abbreviate(String, int, int) - Static method in class cloud.opencode.base.string.OpenString
-
Abbreviate a string using ellipsis ("...") starting from an offset.
- abbreviate(String, int, int, String) - Static method in class cloud.opencode.base.string.abbr.OpenAbbreviation
- abbreviateMiddle(String, String, int) - Static method in class cloud.opencode.base.string.abbr.OpenAbbreviation
- abbreviateMiddle(String, String, int) - Static method in class cloud.opencode.base.string.OpenString
- add(T) - Method in class cloud.opencode.base.string.match.FuzzyMatcher.Builder
-
Adds an item to the matcher.
- addAll(Collection) - Method in class cloud.opencode.base.string.match.FuzzyMatcher.Builder
-
Adds multiple items to the matcher.
- additions() - Method in record class cloud.opencode.base.string.diff.DiffResult
-
Returns the value of the
additionsrecord component. - addPattern(String) - Method in class cloud.opencode.base.string.match.AhoCorasick.Builder
-
Adds a pattern.
- addPatterns(String...) - Method in class cloud.opencode.base.string.match.AhoCorasick.Builder
-
Adds multiple patterns.
- addPatterns(Collection) - Method in class cloud.opencode.base.string.match.AhoCorasick.Builder
-
Adds multiple patterns.
- ADDRESS - Enum constant in enum class cloud.opencode.base.string.desensitize.strategy.DesensitizeType
- addToDictionary(String) - Static method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Adds a word to the core dictionary (affects all instances).
- addToDictionary(Collection) - Static method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Adds multiple words to the core dictionary.
- addWord(String) - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter.Builder
-
Adds a custom word to the dictionary.
- addWords(Collection) - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter.Builder
-
Adds multiple custom words.
- AhoCorasick - Class in cloud.opencode.base.string.match
-
Aho-Corasick Multi-Pattern Matcher - Efficient multi-pattern string matching Aho-Corasick 多模式匹配器 - 高效的多模式字符串匹配
- AhoCorasick.Builder - Class in cloud.opencode.base.string.match
-
Builder for AhoCorasick.
- algorithm(FuzzyMatcher.MatchAlgorithm) - Method in class cloud.opencode.base.string.match.FuzzyMatcher.Builder
-
Sets the matching algorithm.
- ALPHANUMERIC - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- and(CharMatcher) - Method in class cloud.opencode.base.string.builder.CharMatcher
- any() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- anyOf(CharSequence) - Static method in class cloud.opencode.base.string.builder.CharMatcher
- appendTo(A, Iterable) - Method in class cloud.opencode.base.string.builder.Joiner
- appendTo(A, Iterator) - Method in class cloud.opencode.base.string.builder.Joiner
- appendTo(A, Map) - Method in class cloud.opencode.base.string.builder.Joiner.MapJoiner
- appendTo(StringBuilder, Iterable) - Method in class cloud.opencode.base.string.builder.Joiner
- apply(String, String[]) - Method in interface cloud.opencode.base.string.template.TemplateFilter
- applyPatch(String, String) - Static method in class cloud.opencode.base.string.diff.OpenDiff
- ascii() - Static method in class cloud.opencode.base.string.builder.CharMatcher
B
- BANK_CARD - Enum constant in enum class cloud.opencode.base.string.desensitize.strategy.DesensitizeType
- BANK_CARD - Static variable in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
- bankCard(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- blankToNull(String) - Static method in class cloud.opencode.base.string.OpenString
-
Convert a blank string (null, empty, or whitespace only) to
null. - BLUE - Enum constant in enum class cloud.opencode.base.string.text.OpenHighlight.AnsiColor
- boundedDistance(String, String, int) - Static method in class cloud.opencode.base.string.similarity.LevenshteinDistance
-
Bounded Levenshtein distance with early termination.
- boundedLevenshteinDistance(String, String, int) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
-
Bounded Levenshtein distance with early termination.
- breakingWhitespace() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- build() - Method in class cloud.opencode.base.string.match.AhoCorasick.Builder
-
Builds the AhoCorasick matcher.
- build() - Method in class cloud.opencode.base.string.match.FuzzyMatcher.Builder
-
Builds the FuzzyMatcher.
- build() - Method in class cloud.opencode.base.string.template.ContextBuilder
- build() - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter.Builder
-
Builds the segmenter.
- builder() - Static method in class cloud.opencode.base.string.match.AhoCorasick
-
Creates a new builder.
- builder() - Static method in class cloud.opencode.base.string.match.FuzzyMatcher
-
Creates a new builder for String items.
- builder() - Static method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Creates a new builder.
- builder(Function) - Static method in class cloud.opencode.base.string.match.FuzzyMatcher
-
Creates a new builder with custom key extractor.
C
- calculate(String, String) - Static method in class cloud.opencode.base.string.similarity.CosineSimilarity
- calculate(String, String) - Static method in class cloud.opencode.base.string.similarity.JaccardSimilarity
- calculate(String, String) - Static method in class cloud.opencode.base.string.similarity.LevenshteinDistance
- calculate(String, String, int) - Static method in class cloud.opencode.base.string.similarity.JaccardSimilarity
- CAMEL_CASE - Enum constant in enum class cloud.opencode.base.string.naming.NamingCase
-
小驼峰(camelCase)
- capitalize(String) - Static method in class cloud.opencode.base.string.OpenString
- capitalizeWord(String) - Static method in class cloud.opencode.base.string.naming.WordUtil
-
Capitalize first letter of a word.
- CaseUtil - Class in cloud.opencode.base.string.naming
-
Naming Case Conversion Utility 命名风格转换工具类
- center(String, int, char) - Static method in class cloud.opencode.base.string.OpenString
-
Center string within the given minimum length using the pad character.
- charFrequency(String) - Static method in class cloud.opencode.base.string.OpenString
- CharMatcher - Class in cloud.opencode.base.string.builder
-
Character Matcher (Guava Style) 字符匹配器(Guava风格)
- CharMatcher() - Constructor for class cloud.opencode.base.string.builder.CharMatcher
- CHINESE - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- CHINESE_NAME - Enum constant in enum class cloud.opencode.base.string.desensitize.strategy.DesensitizeType
- chineseName(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- ChineseSegmenter - Class in cloud.opencode.base.string.unicode
-
Chinese Word Segmenter - 中文分词器
- ChineseSegmenter.Builder - Class in cloud.opencode.base.string.unicode
-
Builder for ChineseSegmenter.
- chomp(String) - Static method in class cloud.opencode.base.string.OpenString
- chop(String) - Static method in class cloud.opencode.base.string.OpenString
- classToPath(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert Java class name to URL path.
- classToTable(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert Java class name to database table name.
- clearCache() - Static method in class cloud.opencode.base.string.OpenTemplate
- cloud.opencode.base.string - module cloud.opencode.base.string
-
OpenCode Base String Module OpenCode 基础字符串模块
- cloud.opencode.base.string - package cloud.opencode.base.string
- cloud.opencode.base.string.abbr - package cloud.opencode.base.string.abbr
- cloud.opencode.base.string.builder - package cloud.opencode.base.string.builder
- cloud.opencode.base.string.codec - package cloud.opencode.base.string.codec
- cloud.opencode.base.string.desensitize - package cloud.opencode.base.string.desensitize
- cloud.opencode.base.string.desensitize.annotation - package cloud.opencode.base.string.desensitize.annotation
- cloud.opencode.base.string.desensitize.exception - package cloud.opencode.base.string.desensitize.exception
- cloud.opencode.base.string.desensitize.handler - package cloud.opencode.base.string.desensitize.handler
- cloud.opencode.base.string.desensitize.strategy - package cloud.opencode.base.string.desensitize.strategy
- cloud.opencode.base.string.diff - package cloud.opencode.base.string.diff
- cloud.opencode.base.string.escape - package cloud.opencode.base.string.escape
- cloud.opencode.base.string.exception - package cloud.opencode.base.string.exception
- cloud.opencode.base.string.format - package cloud.opencode.base.string.format
- cloud.opencode.base.string.match - package cloud.opencode.base.string.match
- cloud.opencode.base.string.naming - package cloud.opencode.base.string.naming
- cloud.opencode.base.string.parse - package cloud.opencode.base.string.parse
- cloud.opencode.base.string.regex - package cloud.opencode.base.string.regex
- cloud.opencode.base.string.similarity - package cloud.opencode.base.string.similarity
- cloud.opencode.base.string.template - package cloud.opencode.base.string.template
- cloud.opencode.base.string.template.node - package cloud.opencode.base.string.template.node
- cloud.opencode.base.string.text - package cloud.opencode.base.string.text
- cloud.opencode.base.string.unicode - package cloud.opencode.base.string.unicode
- codePoint(char) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- codePoints(String) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- collapseFrom(CharSequence, char) - Method in class cloud.opencode.base.string.builder.CharMatcher
- CollectionHandler - Class in cloud.opencode.base.string.desensitize.handler
-
Collection Desensitize Handler - Handles desensitization of Collection fields.
- columnToField(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert database column name to Java field name.
- COMBINED - Enum constant in enum class cloud.opencode.base.string.match.FuzzyMatcher.MatchAlgorithm
-
Combined algorithm (weighted combination)
- commonPrefix(String...) - Static method in class cloud.opencode.base.string.OpenString
- commonSuffix(String...) - Static method in class cloud.opencode.base.string.OpenString
- compile(String) - Static method in class cloud.opencode.base.string.OpenTemplate
- compile(String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- compile(String) - Static method in class cloud.opencode.base.string.regex.RegexUtil
- compile(String) - Static method in class cloud.opencode.base.string.template.Template
- compileIgnoreCase(String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- compileIgnoreCase(String) - Static method in class cloud.opencode.base.string.regex.RegexUtil
- contains(PatternMatch) - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Checks if this match contains another.
- contains(String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- CONTAINS - Enum constant in enum class cloud.opencode.base.string.match.FuzzyMatcher.MatchAlgorithm
-
Contains-based similarity
- containsAny(String) - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Checks if the text contains any pattern.
- containsAny(String, CharSequence...) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string contains any of the given search strings.
- containsChinese(String) - Static method in class cloud.opencode.base.string.OpenString
- containsChinese(String) - Static method in class cloud.opencode.base.string.unicode.OpenChinese
- containsEmoji(String) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- containsIgnoreCase(String, String) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string contains another string, ignoring case.
- containsNone(String, String) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string contains none of the given invalid characters.
- containsOnly(String, String) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string contains only the given valid characters.
- containsWord(String) - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Checks if a word exists in the dictionary.
- content() - Method in record class cloud.opencode.base.string.diff.DiffLine
-
Returns the value of the
contentrecord component. - ContextBuilder - Class in cloud.opencode.base.string.template
-
Context Builder - Builder for template rendering context.
- ContextBuilder() - Constructor for class cloud.opencode.base.string.template.ContextBuilder
- convert(String, NamingCase) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert to specified naming case.
- convert(String, NamingCase) - Static method in class cloud.opencode.base.string.OpenNaming
-
Auto-detect and convert to target naming style.
- convert(String, NamingCase, NamingCase) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert from one naming case to another.
- convert(String, NamingCase, NamingCase) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert naming style.
- cosineSimilarity(String, String) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- CosineSimilarity - Class in cloud.opencode.base.string.similarity
-
Cosine Similarity - Calculates cosine similarity between strings.
- countIn(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- countMatches(String) - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Counts the total number of matches.
- countMatches(String, char) - Static method in class cloud.opencode.base.string.OpenString
- countMatches(String, String) - Static method in class cloud.opencode.base.string.OpenString
- countMatches(String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- create() - Static method in class cloud.opencode.base.string.template.ContextBuilder
- create() - Static method in class cloud.opencode.base.string.template.TemplateEngine
-
Create a new template engine instance 创建新的模板引擎实例
- create(String, String) - Static method in class cloud.opencode.base.string.regex.MatcherUtil
- create(Pattern, String) - Static method in class cloud.opencode.base.string.regex.MatcherUtil
- CREDIT_CODE_CN - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- CsvUtil - Class in cloud.opencode.base.string.parse
-
CSV Utility - Provides CSV parsing and formatting methods.
- CUSTOM - Enum constant in enum class cloud.opencode.base.string.desensitize.strategy.DesensitizeType
- customStrategy() - Element in annotation interface cloud.opencode.base.string.desensitize.annotation.Desensitize
- CYAN - Enum constant in enum class cloud.opencode.base.string.text.OpenHighlight.AnsiColor
D
- DATE - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- DATETIME - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- DECIMAL - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- decode(String) - Static method in class cloud.opencode.base.string.codec.KeyValueCodec
-
Decode a string in the default
key=value;key=valueformat to a map. - decode(String, String, String) - Static method in class cloud.opencode.base.string.codec.KeyValueCodec
-
Decode a string with configurable separators to a map.
- decodeUrl(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- DEFAULT - Static variable in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
- defaultIfBlank(String, String) - Static method in class cloud.opencode.base.string.OpenString
- defaultIfEmpty(String, String) - Static method in class cloud.opencode.base.string.OpenString
- defaultValue(String) - Method in class cloud.opencode.base.string.template.StringTemplate
- DELETE - Enum constant in enum class cloud.opencode.base.string.diff.DiffLine.Type
- deletions() - Method in record class cloud.opencode.base.string.diff.DiffResult
-
Returns the value of the
deletionsrecord component. - desensitize(String) - Method in interface cloud.opencode.base.string.desensitize.strategy.DesensitizeStrategy
- desensitize(String, DesensitizeType) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- Desensitize - Annotation Interface in cloud.opencode.base.string.desensitize.annotation
-
Desensitize Annotation - Marks fields for automatic desensitization.
- DesensitizeBean - Annotation Interface in cloud.opencode.base.string.desensitize.annotation
-
Desensitize Bean Annotation - Marks beans containing desensitizable fields.
- DesensitizeException - Exception Class in cloud.opencode.base.string.desensitize.exception
-
Desensitization Exception 脱敏异常
- DesensitizeException(String) - Constructor for exception class cloud.opencode.base.string.desensitize.exception.DesensitizeException
-
Constructs a new desensitize exception with the specified detail message.
- DesensitizeException(String, Throwable) - Constructor for exception class cloud.opencode.base.string.desensitize.exception.DesensitizeException
-
Constructs a new desensitize exception with the specified detail message and cause.
- DesensitizeProcessor - Class in cloud.opencode.base.string.desensitize
-
Desensitize Processor - Processes fields annotated with desensitization rules.
- DesensitizeStrategy - Interface in cloud.opencode.base.string.desensitize.strategy
-
Desensitize Strategy - Functional interface for custom desensitization logic.
- DesensitizeType - Enum Class in cloud.opencode.base.string.desensitize.strategy
-
Desensitize Type - Enum defining built-in desensitization types.
- detect(String) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Detect the naming case of a string.
- detect(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Detect naming case of a string.
- didYouMean(String, Collection) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Suggests a correction for a potentially misspelled string.
- didYouMean(String, Collection, double) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Suggests a correction with custom threshold.
- diff(String, String) - Static method in class cloud.opencode.base.string.diff.OpenDiff
- diffChars(String, String) - Static method in class cloud.opencode.base.string.diff.OpenDiff
- difference(String, String) - Static method in class cloud.opencode.base.string.OpenString
- DiffLine - Record Class in cloud.opencode.base.string.diff
-
Diff Line - Record representing a single line in a diff result.
- DiffLine(DiffLine.Type, int, int, String) - Constructor for record class cloud.opencode.base.string.diff.DiffLine
-
Creates an instance of a
DiffLinerecord class. - DiffLine.Type - Enum Class in cloud.opencode.base.string.diff
- diffLines(String, String) - Static method in class cloud.opencode.base.string.diff.OpenDiff
- DiffResult - Record Class in cloud.opencode.base.string.diff
-
Diff Result - Record holding the result of a string diff operation.
- DiffResult(List, int, int, int) - Constructor for record class cloud.opencode.base.string.diff.DiffResult
-
Creates an instance of a
DiffResultrecord class. - diffWords(String, String) - Static method in class cloud.opencode.base.string.diff.OpenDiff
- digit() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- displayWidth(String) - Static method in class cloud.opencode.base.string.unicode.OpenGrapheme
-
Calculate display width accounting for East Asian double-width characters.
- displayWidth(String) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- DOMAIN - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- DOT_CASE - Enum constant in enum class cloud.opencode.base.string.naming.NamingCase
-
点分隔(dot.case)
E
- email(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- EMAIL - Enum constant in enum class cloud.opencode.base.string.desensitize.strategy.DesensitizeType
- EMAIL - Static variable in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
- EMAIL - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- emptyToNull(String) - Static method in class cloud.opencode.base.string.OpenString
-
Convert an empty string to
null. - enabled() - Element in annotation interface cloud.opencode.base.string.desensitize.annotation.DesensitizeBean
- encode(Map) - Static method in class cloud.opencode.base.string.codec.KeyValueCodec
-
Encode a map to the default
key=value;key=valueformat. - encode(Map, String, String) - Static method in class cloud.opencode.base.string.codec.KeyValueCodec
-
Encode a map with configurable separators.
- encodeUrl(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- end() - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Returns the value of the
endrecord component. - endKeep() - Element in annotation interface cloud.opencode.base.string.desensitize.annotation.Desensitize
- endKeep() - Method in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
-
Returns the value of the
endKeeprecord component. - endsWithAny(String, String...) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string ends with any of the given suffixes.
- endsWithIgnoreCase(String, String) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string ends with a suffix, ignoring case.
- ensurePrefix(String, String) - Static method in class cloud.opencode.base.string.OpenString
- ensureSuffix(String, String) - Static method in class cloud.opencode.base.string.OpenString
- ensureWrap(String, String) - Static method in class cloud.opencode.base.string.OpenString
- EQUAL - Enum constant in enum class cloud.opencode.base.string.diff.DiffLine.Type
- equals(Object) - Method in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.string.diff.DiffLine
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.string.diff.DiffResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.string.match.FuzzyMatch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.string.parse.NamedParameterParser.ParsedSql
-
Indicates whether some other object is "equal to" this one.
- escape(String) - Static method in class cloud.opencode.base.string.escape.HtmlUtil
- escape(String) - Static method in class cloud.opencode.base.string.escape.JavaUtil
- escape(String) - Static method in class cloud.opencode.base.string.escape.SqlUtil
- escape(String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- escape(String) - Static method in class cloud.opencode.base.string.regex.RegexUtil
- escapeCsv(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- escapeHtml(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- escapeJava(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- escapeJson(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- escapeRegex(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- escapeShell(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- escapeSql(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- escapeXml(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- extractFrom(String) - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Extracts the matched portion from the original text.
- extractValues(NamedParameterParser.ParsedSql, Map) - Static method in class cloud.opencode.base.string.parse.NamedParameterParser
-
Extracts parameter values from a map in the order required by the parsed SQL.
- extractVariables(String) - Static method in class cloud.opencode.base.string.template.TemplateUtil
F
- fieldToColumn(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert Java field name to database column name.
- filter(String) - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Filters with asterisks.
- filter(String, char) - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Filters (masks) all matches with a mask character.
- findAll(String) - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Finds all pattern matches in the text.
- findAll(String, String) - Static method in class cloud.opencode.base.string.OpenString
- findAll(String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- findAllGroups(String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- findBest(String, Collection) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Finds the best matching string.
- findBest(String, Collection, double) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Finds the best matching string with custom threshold.
- findBest(String, Collection, Function) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Finds the best matching item with custom key extractor.
- findFirst(String) - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Finds the first pattern match in the text.
- findFirst(String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- findGroup(String, String, int) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- findMostSimilar(String, List) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- findNamedGroups(String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- findPositions(String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- findSimilar(String, List, double) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- firstNonBlank(String...) - Static method in class cloud.opencode.base.string.OpenString
- firstNonEmpty(String...) - Static method in class cloud.opencode.base.string.OpenString
- fixedLength(int) - Static method in class cloud.opencode.base.string.builder.Splitter
- format(long) - Static method in class cloud.opencode.base.string.format.OpenDuration
- format(long) - Static method in class cloud.opencode.base.string.format.OpenFileSize
- format(long, int) - Static method in class cloud.opencode.base.string.format.OpenFileSize
- format(String, Object...) - Static method in class cloud.opencode.base.string.OpenString
-
Format a string using SLF4J-style
{}placeholders. - format(String, Object...) - Static method in class cloud.opencode.base.string.OpenTemplate
- format(String, Map) - Static method in class cloud.opencode.base.string.OpenTemplate
- formatBankCard(String) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatCurrency(BigDecimal) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatCurrency(BigDecimal) - Static method in class cloud.opencode.base.string.format.OpenNumberFormat
- formatCurrency(BigDecimal, String) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatCurrency(BigDecimal, String) - Static method in class cloud.opencode.base.string.format.OpenNumberFormat
- formatDuration(long) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatFileSize(long) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatFileSize(long, int) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatIdCard(String) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatMobile(String) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatNumber(Number) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatNumber(Number) - Static method in class cloud.opencode.base.string.format.OpenNumberFormat
- formatNumber(Number, int) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatNumber(Number, int) - Static method in class cloud.opencode.base.string.format.OpenNumberFormat
- formatPercent(double) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatPercent(double) - Static method in class cloud.opencode.base.string.format.OpenNumberFormat
- formatPercent(double, int) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatPercent(double, int) - Static method in class cloud.opencode.base.string.format.OpenNumberFormat
- formatRelativeTime(long) - Static method in class cloud.opencode.base.string.format.OpenDuration
- formatRelativeTime(long) - Static method in class cloud.opencode.base.string.format.OpenFormat
- formatTime(long) - Static method in class cloud.opencode.base.string.format.OpenDuration
- formatTime(long) - Static method in class cloud.opencode.base.string.format.OpenFormat
- ForNode - Class in cloud.opencode.base.string.template.node
-
For Node - Template node for loop iteration.
- ForNode(String, String, List) - Constructor for class cloud.opencode.base.string.template.node.ForNode
- forPredicate(Predicate) - Static method in class cloud.opencode.base.string.builder.CharMatcher
- fromCodePoints(int...) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- fromUnicode(String) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- FuzzyMatch<T> - Record Class in cloud.opencode.base.string.match
-
Fuzzy Match Result - Represents a fuzzy matching result 模糊匹配结果 - 表示一个模糊匹配的结果
- FuzzyMatch(T, String, double) - Constructor for record class cloud.opencode.base.string.match.FuzzyMatch
-
Creates an instance of a
FuzzyMatchrecord class. - FuzzyMatcher<T> - Class in cloud.opencode.base.string.match
-
Fuzzy String Matcher - Provides fuzzy matching and search suggestions 模糊字符串匹配器 - 提供模糊匹配和搜索建议功能
- FuzzyMatcher.Builder<T> - Class in cloud.opencode.base.string.match
-
Builder for FuzzyMatcher.
- FuzzyMatcher.MatchAlgorithm - Enum Class in cloud.opencode.base.string.match
-
Matching algorithm enumeration.
G
- get(String) - Method in class cloud.opencode.base.string.desensitize.strategy.StrategyRegistry
- get(String) - Method in class cloud.opencode.base.string.template.TemplateContext
- getDefault() - Static method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Gets the default segmenter instance.
- getDictionarySize() - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Gets the dictionary size.
- getDigits(String) - Static method in class cloud.opencode.base.string.OpenString
- getFilter(String) - Static method in class cloud.opencode.base.string.OpenTemplate
- getFilter(String) - Method in class cloud.opencode.base.string.template.TemplateContext
- getInstance() - Static method in class cloud.opencode.base.string.desensitize.strategy.StrategyRegistry
- getMatchedPatterns(String) - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Gets all matched patterns (unique).
- getPatterns() - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Returns all patterns.
- getRepeatedPattern(String) - Static method in class cloud.opencode.base.string.OpenString
- getSeparator() - Method in enum class cloud.opencode.base.string.naming.NamingCase
-
Get the separator for this naming style.
- getSource() - Method in class cloud.opencode.base.string.template.Template
- getVariables() - Method in class cloud.opencode.base.string.template.StringTemplate
- getVariables() - Method in class cloud.opencode.base.string.template.TemplateContext
- GREEN - Enum constant in enum class cloud.opencode.base.string.text.OpenHighlight.AnsiColor
H
- handle(Number) - Static method in class cloud.opencode.base.string.desensitize.handler.NumberHandler
- handle(String, DesensitizeStrategy) - Static method in class cloud.opencode.base.string.desensitize.handler.StringHandler
- handle(List) - Static method in class cloud.opencode.base.string.desensitize.handler.CollectionHandler
- handle(Set) - Static method in class cloud.opencode.base.string.desensitize.handler.CollectionHandler
- hasDiff() - Method in record class cloud.opencode.base.string.diff.DiffResult
- hashCode() - Method in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.string.diff.DiffLine
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.string.diff.DiffResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.string.match.FuzzyMatch
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.string.parse.NamedParameterParser.ParsedSql
-
Returns a hash code value for this object.
- hasMatch(String) - Method in class cloud.opencode.base.string.match.FuzzyMatcher
-
Checks if any item matches the query.
- hasPattern(String) - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Checks if a pattern exists.
- hasSeparator() - Method in enum class cloud.opencode.base.string.naming.NamingCase
-
Check if the style has a separator.
- hasVariable(String) - Method in class cloud.opencode.base.string.template.StringTemplate
- highlight(String, String, String) - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Highlights all matches with tags.
- highlight(String, String, String, String) - Static method in class cloud.opencode.base.string.text.OpenHighlight
- highlight(String, String, String, String) - Static method in class cloud.opencode.base.string.text.OpenText
- highlight(String, List, String, String) - Static method in class cloud.opencode.base.string.text.OpenHighlight
- highlight(String, List, String, String) - Static method in class cloud.opencode.base.string.text.OpenText
- highlightByPattern(String, String, String, String) - Static method in class cloud.opencode.base.string.text.OpenHighlight
- highlightConsole(String, String, OpenHighlight.AnsiColor) - Static method in class cloud.opencode.base.string.text.OpenHighlight
- highlightHtml(String, String) - Static method in class cloud.opencode.base.string.text.OpenHighlight
- highlightHtml(String, String) - Static method in class cloud.opencode.base.string.text.OpenText
- highlightHtml(String, String, String) - Static method in class cloud.opencode.base.string.text.OpenHighlight
- highlightHtml(String, String, String) - Static method in class cloud.opencode.base.string.text.OpenText
- htmlDiff(String, String) - Static method in class cloud.opencode.base.string.diff.OpenDiff
- HtmlUtil - Class in cloud.opencode.base.string.escape
-
HTML Escape Utility - Provides HTML string escaping methods.
I
- ID_CARD - Enum constant in enum class cloud.opencode.base.string.desensitize.strategy.DesensitizeType
- ID_CARD - Static variable in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
- ID_CARD_CN - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- ID_CARD_HK - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- ID_CARD_TW - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- idCard(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- IDENTIFIER - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- IfNode - Class in cloud.opencode.base.string.template.node
-
If Node - Template node for conditional rendering.
- IfNode(String, List, List) - Constructor for class cloud.opencode.base.string.template.node.IfNode
- ignoreCase(boolean) - Method in class cloud.opencode.base.string.match.AhoCorasick.Builder
-
Sets whether to ignore case.
- ignoreCase(boolean) - Method in class cloud.opencode.base.string.match.FuzzyMatcher.Builder
-
Sets whether to ignore case.
- IncludeNode - Class in cloud.opencode.base.string.template.node
-
Include Node - Template node for including other templates.
- IncludeNode(String) - Constructor for class cloud.opencode.base.string.template.node.IncludeNode
- indent(String, int) - Static method in class cloud.opencode.base.string.text.OpenText
- indent(String, int) - Static method in class cloud.opencode.base.string.text.OpenWrap
- indent(String, String) - Static method in class cloud.opencode.base.string.text.OpenText
- indent(String, String) - Static method in class cloud.opencode.base.string.text.OpenWrap
- indexIn(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- indexIn(CharSequence, int) - Method in class cloud.opencode.base.string.builder.CharMatcher
- indexOfDifference(String, String) - Static method in class cloud.opencode.base.string.OpenString
- indexOfNth(String, String, int) - Static method in class cloud.opencode.base.string.OpenString
- inRange(char, char) - Static method in class cloud.opencode.base.string.builder.CharMatcher
- INSERT - Enum constant in enum class cloud.opencode.base.string.diff.DiffLine.Type
- INTEGER - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- invisible() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- IPV4 - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- IPV6 - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- is(char) - Static method in class cloud.opencode.base.string.builder.CharMatcher
- isAllChinese(String) - Static method in class cloud.opencode.base.string.OpenString
- isAllChinese(String) - Static method in class cloud.opencode.base.string.unicode.OpenChinese
- isAllLowerCase(String) - Static method in class cloud.opencode.base.string.OpenString
- isAllUpperCase(String) - Static method in class cloud.opencode.base.string.OpenString
- isAlpha(String) - Static method in class cloud.opencode.base.string.OpenString
- isAlphanumeric(String) - Static method in class cloud.opencode.base.string.OpenString
- isAscii(String) - Static method in class cloud.opencode.base.string.OpenString
- isBlank(String) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string is blank (null, empty, or whitespace only).
- isCapitalized() - Method in enum class cloud.opencode.base.string.naming.NamingCase
-
Check if first letter should be capitalized.
- isCapitalizeWords() - Method in enum class cloud.opencode.base.string.naming.NamingCase
-
Check if all words should be capitalized.
- isChinese(char) - Static method in class cloud.opencode.base.string.unicode.OpenChinese
- isCreditCard(String) - Static method in class cloud.opencode.base.string.regex.OpenVerify
-
Validates a credit/debit card number using the Luhn algorithm.
- isEmail(String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
-
Checks if string is a valid email address.
- isEmail(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isEmpty(String) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string is empty (null or zero length).
- isExactMatch() - Method in record class cloud.opencode.base.string.match.FuzzyMatch
-
Checks if this is an exact match.
- isIdCard(String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
-
Checks if string is a valid ID card number (China).
- isIdCard(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isIdCard15(String) - Static method in class cloud.opencode.base.string.regex.OpenVerify
-
Validates a China 15-digit ID card number.
- isIdCard18(String) - Static method in class cloud.opencode.base.string.regex.OpenVerify
-
Validates a China 18-digit ID card number with checksum verification.
- isIdCardHK(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isIdCardTW(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isIpv4(String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
-
Checks if string is a valid IPv4 address.
- isIpv4(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isIpv6(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isLuhn(String) - Static method in class cloud.opencode.base.string.regex.OpenVerify
-
Validates a number using the Luhn algorithm (MOD 10).
- isMixedCase(String) - Static method in class cloud.opencode.base.string.OpenString
- isMobile(String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
-
Checks if string is a valid mobile phone number (China).
- isMobile(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isMobileHK(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isMobileTW(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isNot(char) - Static method in class cloud.opencode.base.string.builder.CharMatcher
- isNotBlank(String) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string is not blank.
- isNotEmpty(String) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string is not empty.
- isNumeric(String) - Static method in class cloud.opencode.base.string.OpenString
- isPalindrome(String) - Static method in class cloud.opencode.base.string.OpenString
- isPalindromeIgnoreCase(String) - Static method in class cloud.opencode.base.string.OpenString
- isPhoneIntl(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isPhoneUS(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isRepeated(String) - Static method in class cloud.opencode.base.string.OpenString
- isSimilar(String, String, double) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Checks if two strings are similar above a threshold.
- isSimilar(String, String, double) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- isStrongMatch() - Method in record class cloud.opencode.base.string.match.FuzzyMatch
-
Checks if this is a strong match (score >= 0.8).
- isUpperCase() - Method in enum class cloud.opencode.base.string.naming.NamingCase
-
Check if the style uses uppercase.
- isUrl(String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
-
Checks if string is a valid URL.
- isUrl(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isUSCI(String) - Static method in class cloud.opencode.base.string.regex.OpenVerify
-
Validates a Unified Social Credit Identifier (USCI / 统一社会信用代码).
- isUuid(String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
-
Checks if string is a valid UUID format.
- isUuid(String) - Static method in class cloud.opencode.base.string.regex.RegexPattern
- isWeakMatch() - Method in record class cloud.opencode.base.string.match.FuzzyMatch
-
Checks if this is a weak match (
score < 0.6). - item() - Method in record class cloud.opencode.base.string.match.FuzzyMatch
-
Returns the value of the
itemrecord component.
J
- jaccardSimilarity(String, String) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- jaccardSimilarity(String, String, int) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- JaccardSimilarity - Class in cloud.opencode.base.string.similarity
-
Jaccard Similarity - Calculates Jaccard similarity coefficient between strings.
- JARO_WINKLER - Enum constant in enum class cloud.opencode.base.string.match.FuzzyMatcher.MatchAlgorithm
-
Jaro-Winkler similarity (better for typos)
- jaroWinklerSimilarity(String, String) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- javaDigit() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- javaLetter() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- javaLetterOrDigit() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- javaLowerCase() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- javaUpperCase() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- JavaUtil - Class in cloud.opencode.base.string.escape
-
Java Escape Utility - Provides Java string escaping methods.
- join(Iterable) - Method in class cloud.opencode.base.string.builder.Joiner
- join(Object[]) - Method in class cloud.opencode.base.string.builder.Joiner
- join(Object, Object, Object...) - Method in class cloud.opencode.base.string.builder.Joiner
- join(String, Object...) - Static method in class cloud.opencode.base.string.OpenString
-
Join elements with a separator.
- join(Iterator) - Method in class cloud.opencode.base.string.builder.Joiner
- join(Map) - Method in class cloud.opencode.base.string.builder.Joiner.MapJoiner
- Joiner - Class in cloud.opencode.base.string.builder
-
String Joiner (Guava Style) 字符串连接器(Guava风格)
- Joiner.MapJoiner - Class in cloud.opencode.base.string.builder
- joinSkipBlanks(String, CharSequence...) - Static method in class cloud.opencode.base.string.OpenString
-
Join elements with a separator, skipping blank elements.
- joinSkipNulls(String, Object...) - Static method in class cloud.opencode.base.string.OpenString
-
Join elements with a separator, skipping
nullelements. - joinWords(String[], NamingCase) - Static method in class cloud.opencode.base.string.OpenNaming
-
Join words with naming case.
- joinWords(String[], String) - Static method in class cloud.opencode.base.string.naming.WordUtil
-
Join words with a separator.
K
- KEBAB_CASE - Enum constant in enum class cloud.opencode.base.string.naming.NamingCase
-
短横线(kebab-case)
- keepAlphanumeric(String) - Static method in class cloud.opencode.base.string.OpenString
- keepChinese(String) - Static method in class cloud.opencode.base.string.OpenString
- keepDigits(String) - Static method in class cloud.opencode.base.string.OpenString
- keepLetters(String) - Static method in class cloud.opencode.base.string.OpenString
- keepNumbers(boolean) - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter.Builder
-
Sets whether to keep numbers in results.
- keepPunctuation(boolean) - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter.Builder
-
Sets whether to keep punctuation in results.
- key() - Method in record class cloud.opencode.base.string.match.FuzzyMatch
-
Returns the value of the
keyrecord component. - KeyValueCodec - Class in cloud.opencode.base.string.codec
-
Codec for encoding/decoding
Map<String,String>to/from key-value string format.
L
- lastIndexIn(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- lastIndexOfNth(String, String, int) - Static method in class cloud.opencode.base.string.OpenString
- left(String, int) - Static method in class cloud.opencode.base.string.OpenString
-
Get the leftmost
lengthcharacters of a string. - length() - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Returns the length of the match.
- length(String) - Static method in class cloud.opencode.base.string.unicode.OpenGrapheme
-
Count grapheme clusters (visual characters).
- LETTERS - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- LEVENSHTEIN - Enum constant in enum class cloud.opencode.base.string.match.FuzzyMatcher.MatchAlgorithm
-
Levenshtein distance based similarity
- levenshteinDistance(String, String) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- LevenshteinDistance - Class in cloud.opencode.base.string.similarity
-
Levenshtein Distance - Calculates edit distance between strings.
- levenshteinSimilarity(String, String) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- limit(int) - Method in class cloud.opencode.base.string.builder.Splitter
- lines() - Method in record class cloud.opencode.base.string.diff.DiffResult
-
Returns the value of the
linesrecord component. - loadDictionary(InputStream) - Static method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Loads words from an input stream (one word per line).
- longestCommonSubsequence(String, String) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- longestCommonSubstring(String, String) - Static method in class cloud.opencode.base.string.similarity.OpenSimilarity
- LOWER_LETTERS - Static variable in class cloud.opencode.base.string.regex.RegexPattern
M
- MAGENTA - Enum constant in enum class cloud.opencode.base.string.text.OpenHighlight.AnsiColor
- mask(String, int, int, char) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- maskAddress(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- maskBankCard(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- maskByPattern(String, String, char) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
-
Masks all occurrences of a regex pattern in a string.
- maskChar() - Element in annotation interface cloud.opencode.base.string.desensitize.annotation.Desensitize
- maskChar() - Method in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
-
Returns the value of the
maskCharrecord component. - maskEmail(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- maskIdCard(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- maskMiddle(String, int, char) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- maskMobile(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- maskName(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- MaskPattern - Record Class in cloud.opencode.base.string.desensitize.strategy
-
Mask Pattern - Record defining masking pattern configuration.
- MaskPattern(int, int, char) - Constructor for record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
-
Creates an instance of a
MaskPatternrecord class. - match(String) - Method in class cloud.opencode.base.string.match.FuzzyMatcher
-
Finds all items that match the query above the threshold.
- matchBest(String) - Method in class cloud.opencode.base.string.match.FuzzyMatcher
-
Finds the best matching item.
- matchedText() - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Returns the value of the
matchedTextrecord component. - MatcherUtil - Class in cloud.opencode.base.string.regex
-
Matcher Utility - Provides regex matcher helper methods.
- matches(char) - Method in class cloud.opencode.base.string.builder.CharMatcher
- matches(String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- matches(String, Pattern) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- matchesAllOf(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- matchesAnyOf(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- matchesNoneOf(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- maxResults(int) - Method in class cloud.opencode.base.string.match.FuzzyMatcher.Builder
-
Sets the maximum number of results.
- maxWordLength(int) - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter.Builder
-
Sets the maximum word length for matching.
- mid(String, int, int) - Static method in class cloud.opencode.base.string.OpenString
- mobile(String) - Static method in class cloud.opencode.base.string.desensitize.OpenMask
- MOBILE - Static variable in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
- MOBILE_CN - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- MOBILE_HK - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- MOBILE_PHONE - Enum constant in enum class cloud.opencode.base.string.desensitize.strategy.DesensitizeType
- MOBILE_TW - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- modifications() - Method in record class cloud.opencode.base.string.diff.DiffResult
-
Returns the value of the
modificationsrecord component. - MODIFY - Enum constant in enum class cloud.opencode.base.string.diff.DiffLine.Type
N
- NamedParameterParser - Class in cloud.opencode.base.string.parse
-
NamedParameterParser - Parses :paramName style SQL parameters 命名参数解析器 - 解析 :paramName 风格的 SQL 参数
- NamedParameterParser.ParsedSql - Record Class in cloud.opencode.base.string.parse
-
Result of parsing a named-parameter string.
- NamingCase - Enum Class in cloud.opencode.base.string.naming
-
Naming Convention Enumeration 命名风格枚举
- negate() - Method in class cloud.opencode.base.string.builder.CharMatcher
- none() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- noneOf(CharSequence) - Static method in class cloud.opencode.base.string.builder.CharMatcher
- normalizeWhitespace(String) - Static method in class cloud.opencode.base.string.OpenString
- normalizeWord(String) - Static method in class cloud.opencode.base.string.naming.WordUtil
-
Normalize a word (lowercase and trim).
- nullToEmpty(String) - Static method in class cloud.opencode.base.string.OpenString
-
Convert a
nullstring to an empty string. - NUMBER - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- NumberHandler - Class in cloud.opencode.base.string.desensitize.handler
-
Number Desensitize Handler - Handles desensitization of Number fields.
O
- of(String) - Static method in class cloud.opencode.base.string.OpenTemplate
- of(String) - Static method in class cloud.opencode.base.string.template.StringTemplate
- of(String...) - Static method in class cloud.opencode.base.string.match.AhoCorasick
-
Creates a matcher from patterns.
- of(String, String, String) - Static method in class cloud.opencode.base.string.template.PlaceholderTemplate
- of(Collection) - Static method in class cloud.opencode.base.string.match.AhoCorasick
-
Creates a matcher from patterns.
- ofIgnoreCase(String...) - Static method in class cloud.opencode.base.string.match.AhoCorasick
-
Creates a case-insensitive matcher from patterns.
- ofIgnoreCase(Collection) - Static method in class cloud.opencode.base.string.match.AhoCorasick
-
Creates a case-insensitive matcher from patterns.
- omitEmptyStrings() - Method in class cloud.opencode.base.string.builder.Splitter
- on(char) - Static method in class cloud.opencode.base.string.builder.Joiner
- on(char) - Static method in class cloud.opencode.base.string.builder.Splitter
- on(CharMatcher) - Static method in class cloud.opencode.base.string.builder.Splitter
- on(String) - Static method in class cloud.opencode.base.string.builder.Joiner
- on(String) - Static method in class cloud.opencode.base.string.builder.Splitter
- on(Pattern) - Static method in class cloud.opencode.base.string.builder.Splitter
- onPattern(String) - Static method in class cloud.opencode.base.string.builder.Splitter
- OpenAbbreviation - Class in cloud.opencode.base.string.abbr
-
Abbreviation Utility - Provides string abbreviation and shortening methods.
- OpenChinese - Class in cloud.opencode.base.string.unicode
-
Chinese Character Utility - Provides Chinese character detection and manipulation.
- OpenDiff - Class in cloud.opencode.base.string.diff
-
String Diff Utility - Computes differences between strings.
- OpenDuration - Class in cloud.opencode.base.string.format
-
Duration Format Utility - Provides duration formatting methods.
- OpenEscape - Class in cloud.opencode.base.string.escape
-
String Escape Facade - Unified entry point for string escaping operations.
- OpenFileSize - Class in cloud.opencode.base.string.format
-
File Size Format Utility - Provides file size formatting methods.
- OpenFormat - Class in cloud.opencode.base.string.format
-
String Format Facade - Unified entry point for string formatting operations.
- OpenFullWidth - Class in cloud.opencode.base.string.unicode
-
Full-Width Character Utility - Converts between full-width and half-width characters.
- OpenFuzzyMatch - Class in cloud.opencode.base.string.match
-
Fuzzy Match Facade - Provides convenient static methods for fuzzy matching 模糊匹配门面 - 提供便捷的模糊匹配静态方法
- OpenGrapheme - Class in cloud.opencode.base.string.unicode
-
Grapheme Cluster Utility - Correctly handles visual characters including emoji and combining marks.
- OpenHighlight - Class in cloud.opencode.base.string.text
-
Text Highlight Utility - Provides text highlighting methods.
- OpenHighlight.AnsiColor - Enum Class in cloud.opencode.base.string.text
- OpenMask - Class in cloud.opencode.base.string.desensitize
-
Data Masking Utility - Provides data desensitization and masking methods.
- OpenNaming - Class in cloud.opencode.base.string
-
Naming Convention Facade Utility 命名转换门面工具类
- OpenNumberFormat - Class in cloud.opencode.base.string.format
-
Number Format Utility - Provides number formatting methods.
- OpenParse - Class in cloud.opencode.base.string.parse
-
String Parse Facade - Unified entry point for string parsing operations.
- OpenRegex - Class in cloud.opencode.base.string.regex
-
Regex Facade - Unified entry point for regex matching and validation operations.
- OpenSimilarity - Class in cloud.opencode.base.string.similarity
-
String Similarity Facade - Unified entry point for string similarity calculations.
- OpenSlug - Class in cloud.opencode.base.string
-
URL Slug Generator - Converts strings to URL-friendly slugs.
- OpenString - Class in cloud.opencode.base.string
-
Enhanced String Utility Facade 字符串增强工具门面类
- OpenStringException - Exception Class in cloud.opencode.base.string.exception
-
String Component Exception 字符串组件异常
- OpenStringException(String) - Constructor for exception class cloud.opencode.base.string.exception.OpenStringException
-
Constructs a new exception with the specified detail message.
- OpenStringException(String, Throwable) - Constructor for exception class cloud.opencode.base.string.exception.OpenStringException
-
Constructs a new exception with the specified detail message and cause.
- OpenTemplate - Class in cloud.opencode.base.string
-
Template Utility - Provides simple string template rendering.
- OpenText - Class in cloud.opencode.base.string.text
-
Text Utility - Provides general text manipulation methods.
- OpenTruncate - Class in cloud.opencode.base.string.text
-
String Truncate Utility - Provides string truncation methods.
- OpenUnicode - Class in cloud.opencode.base.string.unicode
-
Unicode Utility - Provides Unicode character manipulation methods.
- OpenVerify - Class in cloud.opencode.base.string.regex
-
Verification Utility - Provides checksum-based verification algorithms 校验工具类 - 提供基于校验位的验证算法
- OpenWrap - Class in cloud.opencode.base.string.text
-
Text Wrap Utility - Provides text wrapping methods.
- or(CharMatcher) - Method in class cloud.opencode.base.string.builder.CharMatcher
- originalLine() - Method in record class cloud.opencode.base.string.diff.DiffLine
-
Returns the value of the
originalLinerecord component. - overlaps(PatternMatch) - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Checks if this match overlaps with another.
P
- padLeft(String, int, char) - Static method in class cloud.opencode.base.string.OpenString
-
Pad string on the left to reach minimum length.
- padRight(String, int, char) - Static method in class cloud.opencode.base.string.OpenString
-
Pad string on the right to reach minimum length.
- paramNames() - Method in record class cloud.opencode.base.string.parse.NamedParameterParser.ParsedSql
-
Returns the value of the
paramNamesrecord component. - parse(String) - Static method in class cloud.opencode.base.string.format.OpenFileSize
- parse(String) - Static method in class cloud.opencode.base.string.parse.CsvUtil
- parse(String) - Static method in class cloud.opencode.base.string.parse.NamedParameterParser
-
Parses a named-parameter SQL string into a
NamedParameterParser.ParsedSql. - parseCsv(String) - Static method in class cloud.opencode.base.string.parse.OpenParse
- parseCsvWithHeader(String) - Static method in class cloud.opencode.base.string.parse.OpenParse
- ParsedSql(String, List) - Constructor for record class cloud.opencode.base.string.parse.NamedParameterParser.ParsedSql
-
Creates an instance of a
ParsedSqlrecord class. - parseFileSize(String) - Static method in class cloud.opencode.base.string.format.OpenFormat
- parseWithHeader(String) - Static method in class cloud.opencode.base.string.parse.CsvUtil
- PASCAL_CASE - Enum constant in enum class cloud.opencode.base.string.naming.NamingCase
-
大驼峰/帕斯卡(PascalCase)
- PASSWORD - Enum constant in enum class cloud.opencode.base.string.desensitize.strategy.DesensitizeType
- PATH_CASE - Enum constant in enum class cloud.opencode.base.string.naming.NamingCase
-
路径(path/case)
- pattern() - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Returns the value of the
patternrecord component. - patternCount() - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Returns the number of patterns.
- PatternMatch - Record Class in cloud.opencode.base.string.match
-
Pattern Match Result - Represents a pattern match found in text 模式匹配结果 - 表示在文本中找到的模式匹配
- PatternMatch(String, int, int, String) - Constructor for record class cloud.opencode.base.string.match.PatternMatch
-
Creates an instance of a
PatternMatchrecord class. - PHONE_INTL - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- PHONE_US - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- placeholder(String, String, String) - Static method in class cloud.opencode.base.string.OpenTemplate
- PlaceholderTemplate - Class in cloud.opencode.base.string.template
-
Placeholder Template - Template engine with placeholder-based substitution.
- PlaceholderTemplate(String, String, String) - Constructor for class cloud.opencode.base.string.template.PlaceholderTemplate
- POSITIVE_INTEGER - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- POSTAL_CODE_CN - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- PREFIX - Enum constant in enum class cloud.opencode.base.string.match.FuzzyMatcher.MatchAlgorithm
-
Prefix-based similarity
- process(T) - Static method in class cloud.opencode.base.string.desensitize.DesensitizeProcessor
R
- rankBySimilarity(String, Collection) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Ranks candidates by similarity to the query.
- rankWithScores(String, Collection) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Ranks candidates by similarity with scores.
- RED - Enum constant in enum class cloud.opencode.base.string.text.OpenHighlight.AnsiColor
- RegexPattern - Class in cloud.opencode.base.string.regex
-
Regex Pattern Constants - Provides pre-compiled common regex patterns.
- RegexUtil - Class in cloud.opencode.base.string.regex
-
Regex Utility - Provides regex manipulation helper methods.
- register(String, DesensitizeStrategy) - Method in class cloud.opencode.base.string.desensitize.strategy.StrategyRegistry
- register(String, String) - Static method in class cloud.opencode.base.string.OpenTemplate
-
Register a named template.
- registerFilter(String, TemplateFilter) - Static method in class cloud.opencode.base.string.OpenTemplate
- registerFilter(String, TemplateFilter) - Method in class cloud.opencode.base.string.template.TemplateContext
- registerFunction(String, Function) - Method in class cloud.opencode.base.string.template.TemplateEngine
-
Register a custom function 注册自定义函数
- removeEmoji(String) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- removeFrom(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- removeInvisibleChars(String) - Static method in class cloud.opencode.base.string.OpenString
- removePrefix(String, String) - Static method in class cloud.opencode.base.string.OpenString
- removePrefixIgnoreCase(String, String) - Static method in class cloud.opencode.base.string.OpenString
-
Remove a prefix from a string, ignoring case.
- removeSpecialChars(String) - Static method in class cloud.opencode.base.string.OpenString
- removeSuffix(String, String) - Static method in class cloud.opencode.base.string.OpenString
- removeSuffixIgnoreCase(String, String) - Static method in class cloud.opencode.base.string.OpenString
-
Remove a suffix from a string, ignoring case.
- removeWhitespace(String) - Static method in class cloud.opencode.base.string.OpenString
- render() - Method in class cloud.opencode.base.string.template.StringTemplate
- render(TemplateContext) - Method in class cloud.opencode.base.string.template.Template
- render(String, TemplateContext) - Method in class cloud.opencode.base.string.template.TemplateEngine
-
Render template with TemplateContext 使用TemplateContext渲染模板
- render(String, Map) - Static method in class cloud.opencode.base.string.OpenTemplate
- render(String, Map) - Method in class cloud.opencode.base.string.template.TemplateEngine
-
Render template with Map context 使用Map上下文渲染模板
- render(String, Map) - Static method in class cloud.opencode.base.string.template.TemplateUtil
- render(String, Map, String) - Static method in class cloud.opencode.base.string.OpenTemplate
- render(Map) - Method in class cloud.opencode.base.string.template.node.ForNode
- render(Map) - Method in class cloud.opencode.base.string.template.node.IfNode
- render(Map) - Method in class cloud.opencode.base.string.template.node.IncludeNode
- render(Map) - Method in interface cloud.opencode.base.string.template.node.TemplateNode
- render(Map) - Method in class cloud.opencode.base.string.template.node.TextNode
- render(Map) - Method in class cloud.opencode.base.string.template.node.VariableNode
- render(Map) - Method in class cloud.opencode.base.string.template.PlaceholderTemplate
- render(Map) - Method in class cloud.opencode.base.string.template.StringTemplate
- render(Map) - Method in class cloud.opencode.base.string.template.Template
- renderInline(String, Map) - Static method in class cloud.opencode.base.string.OpenTemplate
- renderNamed(String, Map) - Static method in class cloud.opencode.base.string.OpenTemplate
- repeat(String, String, int) - Static method in class cloud.opencode.base.string.OpenString
-
Repeat a string with a separator between each occurrence.
- replaceAll(String, String) - Method in class cloud.opencode.base.string.match.AhoCorasick
-
Replaces all matches with a replacement string.
- replaceAll(String, String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- replaceAll(String, String, Function) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- replaceEach(String, String[], String[]) - Static method in class cloud.opencode.base.string.OpenString
-
Replace all occurrences of search strings with corresponding replacement strings in a single pass.
- replaceFirst(String, String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- replaceFrom(CharSequence, char) - Method in class cloud.opencode.base.string.builder.CharMatcher
- replaceFrom(CharSequence, CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- retainFrom(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- reverse(String) - Static method in class cloud.opencode.base.string.OpenString
- reverse(String) - Static method in class cloud.opencode.base.string.unicode.OpenGrapheme
-
Grapheme-safe reverse that preserves emoji and combining characters.
- revisedLine() - Method in record class cloud.opencode.base.string.diff.DiffLine
-
Returns the value of the
revisedLinerecord component. - right(String, int) - Static method in class cloud.opencode.base.string.OpenString
-
Get the rightmost
lengthcharacters of a string. - rotate(String, int) - Static method in class cloud.opencode.base.string.OpenString
S
- score() - Method in record class cloud.opencode.base.string.match.FuzzyMatch
-
Returns the value of the
scorerecord component. - scoreAsPercent() - Method in record class cloud.opencode.base.string.match.FuzzyMatch
-
Returns a formatted score as percentage.
- search(String, Collection) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Performs a quick fuzzy search.
- search(String, Collection, double) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Performs a quick fuzzy search with custom threshold.
- search(String, Collection, Function) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Performs fuzzy search on objects with custom key extractor.
- search(String, Collection, Function, double) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Performs fuzzy search on objects with custom key extractor and threshold.
- segment(String) - Static method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Segments Chinese text using bidirectional maximum matching (default).
- segmentAndJoin(String, String) - Static method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Joins segmented words with a delimiter.
- segmentBackward(String) - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Segments text using Backward Maximum Matching (BMM).
- segmentBMM(String) - Static method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Segments Chinese text using Backward Maximum Matching (BMM).
- segmentFMM(String) - Static method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Segments Chinese text using Forward Maximum Matching (FMM).
- segmentForward(String) - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Segments text using Forward Maximum Matching (FMM).
- segmentText(String) - Method in class cloud.opencode.base.string.unicode.ChineseSegmenter
-
Segments text using bidirectional maximum matching.
- SENTENCE_CASE - Enum constant in enum class cloud.opencode.base.string.naming.NamingCase
-
句子(Sentence case) - 首词首字母大写,其余小写,空格分隔
- set(String, Object) - Method in class cloud.opencode.base.string.template.ContextBuilder
- set(String, Object) - Method in class cloud.opencode.base.string.template.StringTemplate
- set(String, Object) - Method in class cloud.opencode.base.string.template.TemplateContext
- setAll(Map) - Method in class cloud.opencode.base.string.template.ContextBuilder
- setAll(Map) - Method in class cloud.opencode.base.string.template.StringTemplate
- shuffle(String) - Static method in class cloud.opencode.base.string.OpenString
- shuffle(String, Random) - Static method in class cloud.opencode.base.string.OpenString
- similarity(String, String) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Calculates the fuzzy similarity between two strings.
- similarity(String, String) - Static method in class cloud.opencode.base.string.similarity.LevenshteinDistance
- size() - Method in class cloud.opencode.base.string.match.FuzzyMatcher
-
Returns the number of items in the matcher.
- skipNulls() - Method in class cloud.opencode.base.string.builder.Joiner
- SNAKE_CASE - Enum constant in enum class cloud.opencode.base.string.naming.NamingCase
-
蛇形(snake_case)
- split(CharSequence) - Method in class cloud.opencode.base.string.builder.Splitter.MapSplitter
- split(CharSequence) - Method in class cloud.opencode.base.string.builder.Splitter
- split(String, String) - Static method in class cloud.opencode.base.string.OpenString
-
Split a string by separator, returning a
List. - split(String, String) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- split(String, String, int) - Static method in class cloud.opencode.base.string.regex.OpenRegex
- Splitter - Class in cloud.opencode.base.string.builder
-
String Splitter - Fluent string splitting with configurable options.
- Splitter.MapSplitter - Class in cloud.opencode.base.string.builder
- splitToList(CharSequence) - Method in class cloud.opencode.base.string.builder.Splitter
- splitToMap(String, String, String) - Static method in class cloud.opencode.base.string.OpenString
-
Split a string into a key-value map using entry and key-value separators.
- splitToStream(CharSequence) - Method in class cloud.opencode.base.string.builder.Splitter
- splitWords(String) - Static method in class cloud.opencode.base.string.naming.WordUtil
-
Split a compound name into words.
- splitWords(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Split compound name into words.
- sql() - Method in record class cloud.opencode.base.string.parse.NamedParameterParser.ParsedSql
-
Returns the value of the
sqlrecord component. - SqlUtil - Class in cloud.opencode.base.string.escape
-
SQL Escape Utility - Provides SQL string escaping methods.
- start() - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Returns the value of the
startrecord component. - startKeep() - Element in annotation interface cloud.opencode.base.string.desensitize.annotation.Desensitize
- startKeep() - Method in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
-
Returns the value of the
startKeeprecord component. - startsWithAny(String, String...) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string starts with any of the given prefixes.
- startsWithIgnoreCase(String, String) - Static method in class cloud.opencode.base.string.OpenString
-
Check if a string starts with a prefix, ignoring case.
- StrategyRegistry - Class in cloud.opencode.base.string.desensitize.strategy
-
Strategy Registry - Registry for desensitization strategy lookup.
- strict(boolean) - Method in class cloud.opencode.base.string.template.StringTemplate
- StringHandler - Class in cloud.opencode.base.string.desensitize.handler
-
String Desensitize Handler - Handles desensitization of String fields.
- StringTemplate - Class in cloud.opencode.base.string.template
-
String Template - Simple string template implementation.
- stripAccents(String) - Static method in class cloud.opencode.base.string.OpenString
- substring(String, int, int) - Static method in class cloud.opencode.base.string.unicode.OpenGrapheme
-
Grapheme-safe substring by grapheme index.
- substringAfter(String, String) - Static method in class cloud.opencode.base.string.OpenString
- substringAfterLast(String, String) - Static method in class cloud.opencode.base.string.OpenString
- substringBefore(String, String) - Static method in class cloud.opencode.base.string.OpenString
- substringBeforeLast(String, String) - Static method in class cloud.opencode.base.string.OpenString
- substringBetween(String, String, String) - Static method in class cloud.opencode.base.string.OpenString
- substringsBetween(String, String, String) - Static method in class cloud.opencode.base.string.OpenString
- suggest(String) - Method in class cloud.opencode.base.string.match.FuzzyMatcher
-
Gets search suggestions for the query.
- suggest(String, Collection) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Gets search suggestions with default threshold.
- suggest(String, Collection, double) - Static method in class cloud.opencode.base.string.match.OpenFuzzyMatch
-
Gets search suggestions with match details.
- suggestStrings(String) - Method in class cloud.opencode.base.string.match.FuzzyMatcher
-
Gets search suggestions as strings.
- swapCase(String) - Static method in class cloud.opencode.base.string.OpenString
T
- tableToClass(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert database table name to Java class name.
- Template - Class in cloud.opencode.base.string.template
-
Template - Core template implementation with node-based rendering.
- TemplateContext - Class in cloud.opencode.base.string.template
-
Template Context - Holds variables and state for template rendering.
- TemplateContext() - Constructor for class cloud.opencode.base.string.template.TemplateContext
- TemplateContext(Map) - Constructor for class cloud.opencode.base.string.template.TemplateContext
- TemplateEngine - Class in cloud.opencode.base.string.template
-
Template Engine - Simple and flexible template rendering engine 模板引擎 - 简单灵活的模板渲染引擎
- TemplateFilter - Interface in cloud.opencode.base.string.template
-
Template Filter - Filter interface for template value transformation.
- TemplateNode - Interface in cloud.opencode.base.string.template.node
-
Template Node - Sealed interface for template AST nodes.
- TemplateUtil - Class in cloud.opencode.base.string.template
-
Template Utility - Provides template helper methods.
- TextNode - Class in cloud.opencode.base.string.template.node
-
Text Node - Template node for static text content.
- TextNode(String) - Constructor for class cloud.opencode.base.string.template.node.TextNode
- threshold(double) - Method in class cloud.opencode.base.string.match.FuzzyMatcher.Builder
-
Sets the similarity threshold (0.0 - 1.0).
- TIME - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- TITLE_CASE - Enum constant in enum class cloud.opencode.base.string.naming.NamingCase
-
标题(Title Case) - 每个单词首字母大写,空格分隔
- toCamelCase(String) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert to camelCase.
- toCamelCase(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert to camelCase (first letter lowercase).
- toChineseMoney(BigDecimal) - Static method in class cloud.opencode.base.string.format.OpenFormat
- toChineseMoney(BigDecimal) - Static method in class cloud.opencode.base.string.format.OpenNumberFormat
- toChineseNumber(long) - Static method in class cloud.opencode.base.string.format.OpenFormat
- toChineseNumber(long) - Static method in class cloud.opencode.base.string.format.OpenNumberFormat
- toCsv(List) - Static method in class cloud.opencode.base.string.parse.CsvUtil
- toDisplayString() - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Returns a formatted string representation.
- toDotCase(String) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert to dot.case.
- toDotCase(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert to dot.case.
- toFullWidth(String) - Static method in class cloud.opencode.base.string.unicode.OpenFullWidth
- toFullWidth(String) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- toHalfWidth(String) - Static method in class cloud.opencode.base.string.unicode.OpenFullWidth
- toHalfWidth(String) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- toHtml() - Method in record class cloud.opencode.base.string.diff.DiffResult
- toKebabCase(String) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert to kebab-case.
- toKebabCase(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert to kebab-case (hyphen separated).
- tokenize(String) - Static method in class cloud.opencode.base.string.parse.OpenParse
- tokenize(String) - Static method in class cloud.opencode.base.string.parse.TokenizerUtil
- tokenize(String, String) - Static method in class cloud.opencode.base.string.parse.OpenParse
- tokenize(String, String) - Static method in class cloud.opencode.base.string.parse.TokenizerUtil
- TokenizerUtil - Class in cloud.opencode.base.string.parse
-
Tokenizer Utility - Provides string tokenization methods.
- toPascalCase(String) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert to PascalCase.
- toPascalCase(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert to PascalCase (first letter uppercase).
- toPathCase(String) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert to path/case.
- toPathCase(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert to path/case.
- toSentenceCase(String) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert to Sentence case.
- toSentenceCase(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert to Sentence case (space separated, first word capitalized).
- toSimplified(String) - Static method in class cloud.opencode.base.string.unicode.OpenChinese
- toSimplified(String) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- toSlug(String) - Static method in class cloud.opencode.base.string.OpenSlug
-
Convert a string to a URL-friendly slug using "-" as separator.
- toSlug(String, String) - Static method in class cloud.opencode.base.string.OpenSlug
-
Convert a string to a URL-friendly slug using a custom separator.
- toSlug(String, String, int) - Static method in class cloud.opencode.base.string.OpenSlug
-
Convert a string to a URL-friendly slug with a maximum length.
- toSnakeCase(String) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert to snake_case.
- toSnakeCase(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert to snake_case (underscore separated lowercase).
- toString() - Method in record class cloud.opencode.base.string.desensitize.strategy.MaskPattern
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.string.diff.DiffLine
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.string.diff.DiffResult
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.string.match.FuzzyMatch
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.string.match.PatternMatch
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.string.parse.NamedParameterParser.ParsedSql
-
Returns a string representation of this record class.
- toTitleCase(String) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert to Title Case.
- toTitleCase(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert to Title Case (space separated, each word capitalized).
- toTitleCase(String) - Static method in class cloud.opencode.base.string.OpenString
- toTraditional(String) - Static method in class cloud.opencode.base.string.unicode.OpenChinese
- toTraditional(String) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- toUnicode(String) - Static method in class cloud.opencode.base.string.unicode.OpenUnicode
- toUnifiedDiff() - Method in record class cloud.opencode.base.string.diff.DiffResult
- toUpperSnakeCase(String) - Static method in class cloud.opencode.base.string.naming.CaseUtil
-
Convert to UPPER_SNAKE_CASE.
- toUpperSnakeCase(String) - Static method in class cloud.opencode.base.string.OpenNaming
-
Convert to UPPER_SNAKE_CASE (constant naming).
- trimAndCollapseFrom(CharSequence, char) - Method in class cloud.opencode.base.string.builder.CharMatcher
- trimFrom(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- trimLeadingFrom(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- trimResults() - Method in class cloud.opencode.base.string.builder.Splitter
- trimResults(CharMatcher) - Method in class cloud.opencode.base.string.builder.Splitter
- trimTrailingFrom(CharSequence) - Method in class cloud.opencode.base.string.builder.CharMatcher
- truncate(String, int) - Static method in class cloud.opencode.base.string.OpenString
- truncate(String, int) - Static method in class cloud.opencode.base.string.text.OpenText
- truncate(String, int) - Static method in class cloud.opencode.base.string.text.OpenTruncate
- truncate(String, int, String) - Static method in class cloud.opencode.base.string.OpenString
- truncate(String, int, String) - Static method in class cloud.opencode.base.string.text.OpenText
- truncate(String, int, String) - Static method in class cloud.opencode.base.string.text.OpenTruncate
- truncateByBytes(String, int, String) - Static method in class cloud.opencode.base.string.OpenString
- truncateByBytes(String, int, String) - Static method in class cloud.opencode.base.string.text.OpenText
- truncateByBytes(String, int, String) - Static method in class cloud.opencode.base.string.text.OpenTruncate
- truncateMiddle(String, int) - Static method in class cloud.opencode.base.string.OpenString
- truncateMiddle(String, int) - Static method in class cloud.opencode.base.string.text.OpenText
- truncateMiddle(String, int) - Static method in class cloud.opencode.base.string.text.OpenTruncate
- truncateMiddle(String, int, String) - Static method in class cloud.opencode.base.string.text.OpenTruncate
- truncateToWidth(String, int) - Static method in class cloud.opencode.base.string.unicode.OpenGrapheme
-
Truncate string to fit within maxWidth display columns.
- truncateToWidth(String, int, String) - Static method in class cloud.opencode.base.string.unicode.OpenGrapheme
-
Truncate string to fit within maxWidth display columns with custom ellipsis.
- type() - Method in record class cloud.opencode.base.string.diff.DiffLine
-
Returns the value of the
typerecord component.
U
- uncapitalize(String) - Static method in class cloud.opencode.base.string.OpenString
- uncapitalizeWord(String) - Static method in class cloud.opencode.base.string.naming.WordUtil
-
Uncapitalize first letter of a word.
- unescape(String) - Static method in class cloud.opencode.base.string.escape.HtmlUtil
- unescape(String) - Static method in class cloud.opencode.base.string.escape.JavaUtil
- unescapeCsv(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- unescapeHtml(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- unescapeJava(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- unescapeJson(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- unescapeXml(String) - Static method in class cloud.opencode.base.string.escape.OpenEscape
- unifiedDiff(String, String) - Static method in class cloud.opencode.base.string.diff.OpenDiff
- unifiedDiff(String, String, String, String, int) - Static method in class cloud.opencode.base.string.diff.OpenDiff
- unwrap(String, char) - Static method in class cloud.opencode.base.string.OpenString
- unwrap(String, String) - Static method in class cloud.opencode.base.string.OpenString
- UPPER_LETTERS - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- UPPER_SNAKE_CASE - Enum constant in enum class cloud.opencode.base.string.naming.NamingCase
-
大写蛇形/常量(UPPER_SNAKE_CASE)
- URL - Static variable in class cloud.opencode.base.string.regex.RegexPattern
- useForNull(String) - Method in class cloud.opencode.base.string.builder.Joiner.MapJoiner
- useForNull(String) - Method in class cloud.opencode.base.string.builder.Joiner
- UUID - Static variable in class cloud.opencode.base.string.regex.RegexPattern
V
- value() - Element in annotation interface cloud.opencode.base.string.desensitize.annotation.Desensitize
- valueOf(String) - Static method in enum class cloud.opencode.base.string.desensitize.strategy.DesensitizeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.string.diff.DiffLine.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.string.match.FuzzyMatcher.MatchAlgorithm
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.string.naming.NamingCase
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.string.text.OpenHighlight.AnsiColor
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cloud.opencode.base.string.desensitize.strategy.DesensitizeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.string.diff.DiffLine.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.string.match.FuzzyMatcher.MatchAlgorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.string.naming.NamingCase
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.string.text.OpenHighlight.AnsiColor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VariableNode - Class in cloud.opencode.base.string.template.node
-
Variable Node - Template node for variable substitution.
- VariableNode(String, String) - Constructor for class cloud.opencode.base.string.template.node.VariableNode
- variablePrefix(String) - Method in class cloud.opencode.base.string.template.TemplateEngine
-
Set variable prefix 设置变量前缀
- variableSuffix(String) - Method in class cloud.opencode.base.string.template.TemplateEngine
-
Set variable suffix 设置变量后缀
W
- WHITE - Enum constant in enum class cloud.opencode.base.string.text.OpenHighlight.AnsiColor
- whitespace() - Static method in class cloud.opencode.base.string.builder.CharMatcher
- withKeyValueSeparator(char) - Method in class cloud.opencode.base.string.builder.Joiner
- withKeyValueSeparator(char) - Method in class cloud.opencode.base.string.builder.Splitter
- withKeyValueSeparator(String) - Method in class cloud.opencode.base.string.builder.Joiner
- withKeyValueSeparator(String) - Method in class cloud.opencode.base.string.builder.Splitter
- wordFrequency(String) - Static method in class cloud.opencode.base.string.OpenString
- WordUtil - Class in cloud.opencode.base.string.naming
-
Word Splitting Utility 单词分割工具类
- wrap(String, char) - Static method in class cloud.opencode.base.string.OpenString
- wrap(String, int) - Static method in class cloud.opencode.base.string.text.OpenText
- wrap(String, int) - Static method in class cloud.opencode.base.string.text.OpenWrap
- wrap(String, int, String) - Static method in class cloud.opencode.base.string.text.OpenText
- wrap(String, int, String) - Static method in class cloud.opencode.base.string.text.OpenWrap
- wrap(String, String) - Static method in class cloud.opencode.base.string.OpenString
Y
- YELLOW - Enum constant in enum class cloud.opencode.base.string.text.OpenHighlight.AnsiColor
All Classes and Interfaces|All Packages|Serialized Form