public final class StringHelper extends Object
Constructor and Description |
---|
StringHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
camelCaseToDash(String value) |
static String |
dashToCamelCase(String value) |
static String |
removeLeadingAndEndingQuotes(String s) |
static String |
replaceAll(String input,
String from,
String to)
Replaces all the from tokens in the given input string.
|
public static String replaceAll(String input, String from, String to)
input
- the input stringfrom
- the from string, must not be null or emptyto
- the replacement string, must not be emptyIllegalArgumentException
- if the input arguments is invalidCopyright © 2016 Red Hat. All rights reserved.