|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.ui.MassagerAddQuotes
public class MassagerAddQuotes
This massager will take a string an add quotes to it by wrapping the string in the quote character and doubling any interior instances of the quote character.
Constructor Summary | |
---|---|
MassagerAddQuotes()
Construct a new instance of the massager. |
|
MassagerAddQuotes(char quote)
Construct a new instance of the massager. |
Method Summary | |
---|---|
String |
massage(String text)
Quotes the string by surround the original string with the quote character and doubling any internal occurences of the character. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MassagerAddQuotes()
public MassagerAddQuotes(char quote)
quote
- the quote character to use in quoting stringsMethod Detail |
---|
public String massage(String text)
massage
in interface ISystemMassager
text
- the string to be quoted
ISystemMassager.massage(String)
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |