public interface StringSyntax
String
.Modifier and Type | Method and Description |
---|---|
char |
getEscape()
This method gets the character used as escape.
|
char |
getQuoteEnd()
This method gets the character used to end a quotation.
|
char |
getQuoteStart()
This method gets the character used to start a quotation that should be terminated by a
quote-end character. |
char getQuoteStart()
quote-end
character. The text inside the quote is taken as is (without the quote characters). '
) and double quotes ("
).'\0'
to disable.char getQuoteEnd()
'\0'
to disable.getQuoteStart()
char getEscape()
getQuoteStart()
to allow these characters also in the payload. The escape itself is removed on decoding while the next character is
taken as is without any special interpretation. \
). escape |
input | output |
---|---|---|
\ | a\b\\c | ab\c |
~ | a~b~~~c | ab~c |
'\0'
for no escaping.Copyright © 2001–2016 mmm-Team. All rights reserved.