Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.ui
Class MassagerFoldCaseUnlessQuoted


java.lang.Object
  extended by 

org.eclipse.rse.ui.MassagerFoldCase
      extended by 
org.eclipse.rse.ui.MassagerFoldCaseUnlessQuoted
All Implemented Interfaces:
ISystemMassager

public class MassagerFoldCaseUnlessQuoted
extends MassagerFoldCase

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

MassagerFoldCaseUnlessQuoted

public MassagerFoldCaseUnlessQuoted()
Constructor using uppercase and using a double quote as delimiter


MassagerFoldCaseUnlessQuoted

public MassagerFoldCaseUnlessQuoted(boolean foldToUpperCase)
Constructor using given case direction, using a double quote as delimiter

Parameters:
foldToUpperCase - - whether to fold to uppercase (true) or lowercase (false).

MassagerFoldCaseUnlessQuoted

public MassagerFoldCaseUnlessQuoted(boolean foldToUpperCase,
                                    char delimiter)
Constructor using given case direction, using given delimiter

Parameters:
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

setDelimiter

public void setDelimiter(char delimiter)
Set the delimiter character

Parameters:
delimiter - - char to check if text is enclosed with. If it is, then no folding is done.

getDelimiter

public char getDelimiter()
Get the delimiter character


toUpperCase

protected 
String toUpperCase(
String input)
Overrridable method that actually does the uppercasing

Overrides:
toUpperCase in class MassagerFoldCase

toLowerCase

protected 
String toLowerCase(
String input)
Overrridable method that actually does the lowercasing

Overrides:
toLowerCase in class MassagerFoldCase

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire