| java.lang.Object echo2example.email.MessageUtil
MessageUtil | public class MessageUtil (Code) | | Utilities for rendering e-mail content.
|
Method Summary | |
final public static String | clean(String source, int wordLengthLimit, int lengthLimit) Remove control characters from SPAM messages. |
clean | final public static String clean(String source, int wordLengthLimit, int lengthLimit)(Code) | | Remove control characters from SPAM messages.
Parameters: source - the source text Parameters: wordLengthLimit - the maximum length of a word (words longerthan this length will have spaces inserted; negative valuesindicate unlimited length) Parameters: lengthLimit - Maximum length of text (text longer than thislength will be cut; negative values indicate unlimited length) the translated string |
|
|