java.lang.Object
com.wilko.jaim.Utils
- public class Utils
- extends java.lang.Object
- Version:
- $Revision: 1.4 $
|
Constructor Summary |
Utils()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roastKey
private static final java.lang.String roastKey
- See Also:
- Constant Field Values
roastLen
private static final int roastLen
- See Also:
- Constant Field Values
Utils
public Utils()
normalise
public static java.lang.String normalise(java.lang.String input)
- convert a buddy name to normalised format - remove spaces and convert to lower case
roast
public static java.lang.String roast(java.lang.String password)
- Roast a password using the AOL roasting protocol
stripHTML
public static java.lang.String stripHTML(java.lang.String input)
- This method performs a simple HTML strip on text. It looks for < characters and then skips input until a matching > is found.
This may fail if the HTML tag contains an embedded '>'
encodeText
public static java.lang.String encodeText(java.lang.String input)
- Encode a text message so that it is suitable for transmission using toc_send_im