OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
org.apache.calcite.util.EscapedStringJsonBuilder Class Reference
+ Inheritance diagram for org.apache.calcite.util.EscapedStringJsonBuilder:
+ Collaboration diagram for org.apache.calcite.util.EscapedStringJsonBuilder:

Public Member Functions

void append (StringBuilder buf, int indent, Object o)
 

Detailed Description

Definition at line 22 of file EscapedStringJsonBuilder.java.

Member Function Documentation

void org.apache.calcite.util.EscapedStringJsonBuilder.append ( StringBuilder  buf,
int  indent,
Object  o 
)
inline

Definition at line 24 of file EscapedStringJsonBuilder.java.

24  {
25  if (o instanceof String) {
26  buf.append('"').append(StringEscapeUtils.escapeJson((String) o)).append('"');
27  } else {
28  super.append(buf, indent, o);
29  }
30  }
void append(StringBuilder buf, int indent, Object o)

The documentation for this class was generated from the following file: