Class StringDecorator
- java.lang.Object
-
- com.vaadin.v7.data.util.sqlcontainer.query.generator.filter.StringDecorator
-
- All Implemented Interfaces:
Serializable
@Deprecated public class StringDecorator extends Object implements Serializable
Deprecated.As of 8.0, no replacement available.The StringDecorator knows how to produce a quoted string using the specified quote start and quote end characters. It also handles grouping of a string (surrounding it in parenthesis). Extend this class if you need to support special characters for grouping (parenthesis).- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringDecorator(String quoteStart, String quoteEnd)Deprecated.Constructs a StringDecorator that uses the quoteStart and quoteEnd characters to create quoted strings.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringgroup(String str)Deprecated.Groups a string by surrounding it in parenthesis.Stringquote(Object str)Deprecated.Surround a string with quote characters.
-
-
-
Constructor Detail
-
StringDecorator
public StringDecorator(String quoteStart, String quoteEnd)
Deprecated.Constructs a StringDecorator that uses the quoteStart and quoteEnd characters to create quoted strings.- Parameters:
quoteStart- the character denoting the start of a quote.quoteEnd- the character denoting the end of a quote.
-
-