public class StringNormalizerDefault extends Object implements IStringNormalizer
| Constructor and Description |
|---|
StringNormalizerDefault() |
| Modifier and Type | Method and Description |
|---|---|
String |
camelCase(String text)
Camel case characters, as Java attributes or methods.
|
String |
camelCase(String text,
boolean changeFirst)
Normalize a string using camel case rules.
|
String |
clean(String str)
Remove all Latin characters.
|
String |
normalize(String str)
Normalize a string, removing white spaces.
|
public String normalize(String str)
IStringNormalizernormalize in interface IStringNormalizerstr - The original string.public String camelCase(String text)
IStringNormalizercamelCase in interface IStringNormalizertext - The text to change.public String camelCase(String text, boolean changeFirst)
IStringNormalizercamelCase in interface IStringNormalizertext - The text to be normalized.changeFirst - Flag to upper first character also.public String clean(String str)
IStringNormalizerclean in interface IStringNormalizerstr - The string to be normalized.Copyright © 2016. All rights reserved.