Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.wilko.jaim
Class Utils  view Utils download Utils.java

java.lang.Object
  extended bycom.wilko.jaim.Utils

public class Utils
extends java.lang.Object

Version:
$Revision: 1.4 $

Field Summary
private static java.lang.String roastKey
           
private static int roastLen
           
 
Constructor Summary
Utils()
           
 
Method Summary
static java.lang.String encodeText(java.lang.String input)
          Encode a text message so that it is suitable for transmission using toc_send_im
static java.lang.String normalise(java.lang.String input)
          convert a buddy name to normalised format - remove spaces and convert to lower case
static java.lang.String roast(java.lang.String password)
          Roast a password using the AOL roasting protocol
static java.lang.String stripHTML(java.lang.String input)
          This method performs a simple HTML strip on text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roastKey

private static final java.lang.String roastKey
See Also:
Constant Field Values

roastLen

private static final int roastLen
See Also:
Constant Field Values
Constructor Detail

Utils

public Utils()
Method Detail

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