|
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.MassagerFoldCase
org.eclipse.rse.ui.MassagerFoldCaseUnlessQuoted
public class MassagerFoldCaseUnlessQuoted
This massager folds the input text into either uppercase or lowercase, but ONLY if the given input is not delimited. The default delimiter checked for is the double quote character, but this can be changed by a setter method.
Constructor Summary | |
---|---|
MassagerFoldCaseUnlessQuoted()
Constructor using uppercase and using a double quote as delimiter |
|
MassagerFoldCaseUnlessQuoted(boolean foldToUpperCase)
Constructor using given case direction, using a double quote as delimiter |
|
MassagerFoldCaseUnlessQuoted(boolean foldToUpperCase,
char delimiter)
Constructor using given case direction, using given delimiter |
Method Summary | |
---|---|
char |
getDelimiter()
Get the delimiter character |
void |
setDelimiter(char delimiter)
Set the delimiter character |
protected String |
toLowerCase(String input)
Overrridable method that actually does the lowercasing |
protected String |
toUpperCase(String input)
Overrridable method that actually does the uppercasing |
Methods inherited from class org.eclipse.rse.ui.MassagerFoldCase |
---|
getFoldToUpperCase, getTrimBlanks, massage, setFoldToUpperCase, setTrimBlanks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MassagerFoldCaseUnlessQuoted()
public MassagerFoldCaseUnlessQuoted(boolean foldToUpperCase)
foldToUpperCase
- - whether to fold to uppercase (true) or lowercase (false).public MassagerFoldCaseUnlessQuoted(boolean foldToUpperCase, char delimiter)
foldToUpperCase
- - whether to fold to uppercase (true) or lowercase (false).delimiter
- - char to check if text is enclosed with. If it is, then no folding is done.Method Detail |
---|
public void setDelimiter(char delimiter)
delimiter
- - char to check if text is enclosed with. If it is, then no folding is done.public char getDelimiter()
protected String toUpperCase(String input)
toUpperCase
in class MassagerFoldCase
protected String toLowerCase(String input)
toLowerCase
in class MassagerFoldCase
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |