发布于 2017-12-14 03:25:03 | 236 次阅读 | 评论: 0 | 来源: 网友投递
Apache Commons
Apache Commons项目的由三部分组成:The Commons Proper - 一个可重用的Java组件库。The Commons Sandbox - Java组件开发工作区. The Commons Dormant - 当前处于非活动状态的组件库.
Apache Commons Text 1.2 正式发布了,该项目提供了大量专注于处理字符串和文本块的算法。
官方表示,该版本的所有特性都与 Java 9 兼容。其他更新内容:
新特性
TEXT-74: StrSubstitutor: Ability to turn off substitution in values. Thanks to Ioannis Sermetziadis.
TEXT-97: RandomStringGenerator able to pass multiple ranges to .withinRange(). Thanks to Amey Jadiye.
TEXT-89: WordUtils.initials support for UTF-16 surrogate pairs. Thanks to Arun Vinud S S.
TEXT-90: Add CharacterPredicates for ASCII letters (uppercase/lowercase) and arabic numerals.
TEXT-85: Added CaseUtils class with camel case conversion support. Thanks to Arun Vinud S S.
TEXT-91: RandomStringGenerator should be able to generate a String with a random length.
TEXT-102: Add StrLookup.resourceBundleLookup(ResourceBundle).
Bug 修复
TEXT-106: Exception thrown in ExtendedMessageFormat using quotes with custom registry. Thanks to Benoit Moreau.
TEXT-100: StringEscapeUtils#UnEscapeJson doesn't recognize escape signs correctly. Thanks to Don Jeba.
TEXT-105: Typo in LongestCommonSubsequence#logestCommonSubsequence. Thanks to Abrasha.
变更
TEXT-107: Upversion commons-lang to 3.7.
TEXT-98: Deprecate isDelimiter and use HashSets for delimiter checks. Thanks to Arun Vinud S S.
TEXT-88: WordUtils should treat an empty delimiter array as no delimiters. Thanks to Amey Jadiye.
TEXT-93: Update RandomStringGenerator to accept a list of valid characters. Thanks to Amey Jadiye.
TEXT-92: Update commons-lang dependency to version 3.6.
TEXT-83: Document that commons-csv should be used in preference to CsvTranslators. Thanks to Amey Jadiye.
TEXT-67: NumericEntityUnescaper.options - fix TODO.
TEXT-84: RandomStringGenerator claims to be immutable, but isn't.
下载地址