| java.lang.Object org.apache.roller.util.RegexUtil
RegexUtil | public class RegexUtil (Code) | | author: lance |
Method Summary | |
public static String | encode(String email) Thanks to the folks at Blojsom (http://sf.net/projects/blojsom)
for showing me what I was doing wrong with the Hex class. | public static String | encodeEmail(String str) | public static ArrayList | getMatches(Pattern pattern, String match, int group) Return the specified match "groups" from the pattern. | public static String | obfuscateEmail(String str) obfuscate plaintext emails: makes them
"human-readable" - still too easy for
machines to parse however. |
encode | public static String encode(String email)(Code) | | Thanks to the folks at Blojsom (http://sf.net/projects/blojsom)
for showing me what I was doing wrong with the Hex class.
Parameters: email - |
getMatches | public static ArrayList getMatches(Pattern pattern, String match, int group)(Code) | | Return the specified match "groups" from the pattern.
For each group matched a String will be entered in the ArrayList.
Parameters: pattern - The Pattern to use. Parameters: match - The String to match against. Parameters: group - The group number to return in case of a match. |
obfuscateEmail | public static String obfuscateEmail(String str)(Code) | | obfuscate plaintext emails: makes them
"human-readable" - still too easy for
machines to parse however.
Parameters: str - |
|
|