swpchat.protocol
Class Quote

java.lang.Object
  |
  +--swpchat.protocol.Quote

public class Quote
extends java.lang.Object

class to qoute the messages.


Field Summary
private static java.lang.String CLS
           
private static java.lang.String STR_QUOTECHARS
          The strings that should be quoted..
 
Constructor Summary
Quote()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static java.lang.String quote(java.lang.String strText)
          Method quotes a given text and returns a the quoted String
static java.lang.String requote(java.lang.String str)
          requote a given text.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

CLS

private static final java.lang.String CLS

STR_QUOTECHARS

private static java.lang.String STR_QUOTECHARS
The strings that should be quoted..
Constructor Detail

Quote

public Quote()
Method Detail

quote

public static java.lang.String quote(java.lang.String strText)
Method quotes a given text and returns a the quoted String
Parameters:
strText - contains the to be quoted String
Returns:
String, the quoted String

requote

public static java.lang.String requote(java.lang.String str)
requote a given text.
Parameters:
strText - contains the to be requoted String
Returns:
String, the requoted String

main

public static void main(java.lang.String[] args)