public final class StringValue extends Object
Constructor and Description |
---|
StringValue() |
Modifier and Type | Method and Description |
---|---|
protected static String |
escapeDot(String identifierToEscape)
Escape all unescape dot characters in the text (identifier only) passed in.
|
static String |
parseString(String value)
Parse the string literal consisting of text between double-quotes or single-quotes.
|
static String |
removeTicks(String tickedString)
Remove tick '`' character from a string start and end.
|
static void |
renderConstantAsEPL(StringWriter writer,
Object constant)
Renders a constant as an EPL.
|
static String |
stringDelimitedTo60Char(String text) |
static String |
unescapeBacktick(String text) |
static int |
unescapedIndexOfDot(String identifier)
Find the index of an unescaped dot (.) character, or return -1 if none found.
|
static String |
unescapeDot(String identifierToUnescape)
Un-Escape all escaped dot characters in the text (identifier only) passed in.
|
static String |
unnamedWhenNullOrEmpty(String value) |
public static final String UNNAMED
public static String parseString(String value)
value
- is the text wthin double or single quotespublic static int unescapedIndexOfDot(String identifier)
identifier
- text to find an un-escaped dot characterprotected static String escapeDot(String identifierToEscape)
identifierToEscape
- text to escapepublic static String unescapeDot(String identifierToUnescape)
identifierToUnescape
- text to un-escapepublic static void renderConstantAsEPL(StringWriter writer, Object constant)
writer
- to output toconstant
- to renderpublic static String removeTicks(String tickedString)
tickedString
- delimited stringCopyright © 2005–2018. All rights reserved.