Package net.sf.jabb.util.text

Class Summary
CollectionFormatter Handles the formatting of collections.
DurationFormatter An utility to format the length of time period to String, for example: 00:03:01.011 or 7d, 12:32:02:001.
一个可以用来格式化时间段信息的工具类,其输出结果比如: 00:03:01.011,或:7d, 12:32:02:001。
KeywordMatcher To check which keywords a text matches, and for each matched keyword how many occurrences are found.
检查文本当中匹配了哪些关键词,以及每个被匹配到的关键词出现了多少次。
MatchingDefinition Definition of how the matching will should be done.
NameDeduplicator This utility class can rename names by appending numbers to avoid name duplication, it is multi-thread safe.
这个工具类可以通过给名称后面添加数字的方式来为避免重名而自动改名,它是多线程安全的。
RegExpSubstitution The utility to substitute part of the String that matches specified regular expression(s) with another specified String.
一个工具类,它可以对一个或多个正则表达式所匹配到的字符串中的内容作替换。
StartWithMatcher To test which regular expression among several others can be matched by a given string in the manner of "start with".
用来检查某一个字符串能同一组正则表达式中的哪一个符合“以此开头”形式的匹配。
StringStartWithMatcher Given a text string to be tested, and list of matching strings, find out which matching string the text string starts with.
给定一个待检查的文本字符串,以及一批开头匹配字符串,看看待检查的文本字符串以哪个匹配字符串开头。
UrlStartWithMatcher Given a text string to be tested, and list of matching strings, find out which matching string the text string starts with.
给定一个待检查的URL字符串,以及一批开头匹配字符串,看看待检查的URL字符串以哪个匹配字符串开头。
XmlFormatter Pretty formatting XML.
 



Copyright © 2012. All Rights Reserved.