public class Security
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
escapeAndQuoteString(java.lang.String in)
Escapes any internal quotes and ensures the parameter is correctly (single)
quoted.
|
public static java.lang.String escapeAndQuoteString(java.lang.String in)
FeaturesListResponse response = engine.tables().features().list(TABLE_ID)
.setWhere(String.format("mycolumn = %s", Security.escapeAndQuoteString(userInput)));
in - A string to escape