public class Camelbacker extends Object implements StringProcessor
| Constructor and Description | 
|---|
| Camelbacker() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getIgnorePartAfter()Returns the separation chars which define the tail to be removed. | 
| String | getIgnorePartBefore()Returns the separation characters which defile the prefix to be removed. | 
| String | getRemoveWithoutUppercase()Returns which characters are removed from the processed String. | 
| String | getRemoveWithUppercase()Returns the characters which are removed from the processed String
 and cause the following character to be converted to upper case. | 
| boolean | isDefaultLowerCase()Returns whether all characters in the processed String should be made
 lower Case by default (i.e if none of the camelback rules is applicable). | 
| boolean | isFirstCharUppercase()Returns whether the first character is always converted to upper case. | 
| String | process(String toProcess)Does the camelback processing according to the settings. | 
| void | setDefaultLowerCase(boolean defaultLowerCase)Sets whether all characters in the processed String should be made
 lower Case by default (i.e if none of the camelback rules is applicable). | 
| void | setFirstCharUppercase(boolean firstCharUppercase)Sets whether the first character should always be upper case. | 
| void | setIgnorePartAfter(String ignorePartAfter)Sets the separation chars which define the suffix to be removed. | 
| void | setIgnorePartBefore(String ignorePartBefore)Sets the separation characters which define the prefix to be removed. | 
| void | setRemoveWithoutUppercase(String removeWithoutUppercase)Sets which characters are removed from the processed String. | 
| void | setRemoveWithUppercase(String removeWithUppercase)Sets the characters which are removed from the processed String
 and cause the following character to be converted to upper case. | 
public String process(String toProcess)
process in interface StringProcessortoProcess - the String to process.public boolean isFirstCharUppercase()
public void setFirstCharUppercase(boolean firstCharUppercase)
firstCharUppercase - true if the first character should always
        be converted to upper case, false if not.public String getIgnorePartAfter()
public void setIgnorePartAfter(String ignorePartAfter)
ignorePartAfter - the separation chars for removing the tail.public String getIgnorePartBefore()
public void setIgnorePartBefore(String ignorePartBefore)
ignorePartBefore - the separation chars which define the suffix
        to be removed.public String getRemoveWithoutUppercase()
public void setRemoveWithoutUppercase(String removeWithoutUppercase)
removeWithoutUppercase - a String containing all characters
        which are simply removed from the input String.public String getRemoveWithUppercase()
public void setRemoveWithUppercase(String removeWithUppercase)
removeWithUppercase - a String containing all characters which are
        removed from the input String and which cause the following
        character to be converted to upper case.public boolean isDefaultLowerCase()
public void setDefaultLowerCase(boolean defaultLowerCase)
defaultLowerCase - true if all characters are converted to lower
        case by default, false if not.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.