|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.ui.MassagerFoldCase
com.ibm.etools.systems.core.ui.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.
Field Summary | |
---|---|
static String |
Copyright
|
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 com.ibm.etools.systems.core.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 |
Field Detail |
public static final String Copyright
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
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |