public class StringDecorator extends Object implements Serializable
| Constructor and Description |
|---|
StringDecorator(String quoteStart,
String quoteEnd)
Constructs a StringDecorator that uses the quoteStart and quoteEnd
characters to create quoted strings.
|
| Modifier and Type | Method and Description |
|---|---|
String |
group(String str)
Groups a string by surrounding it in parenthesis
|
String |
quote(Object str)
Surround a string with quote characters.
|
public StringDecorator(String quoteStart, String quoteEnd)
quoteStart - the character denoting the start of a quote.quoteEnd - the character denoting the end of a quote.Copyright © 2023 Vaadin Ltd. All rights reserved.