Here you can find the source of quote(Object aObject)
static String quote(Object aObject)
//package com.java2s; public class Main { private static final String SINGLE_QUOTE = "'"; static String quote(Object aObject) { return SINGLE_QUOTE + String.valueOf(aObject) + SINGLE_QUOTE; }/*w w w .jav a 2s . c om*/ }