Formatter.h
Go to the documentation of this file.
Virtual class to perform format-specific String adjustments.
Definition: Formatter.h:42
virtual void unQuote(String &value) const =0
Remove any quotes from a value.
virtual void quote(String &value) const =0
Convert a value into quoted string.
virtual MimeType mimeType() const =0
Corresponding MIME type for this format.
virtual void escape(String &value) const =0
Perform any necessary text escaping so output is valid.
Definition: Formatter.h:20
unsigned escapeControls(String &value, Options options)
Escape standard control codes such as \n (below ASCII 0x20)
@ singlequote
@ unicode
@ backslash
@ doublequote
1.9.1