Here you can find the source of quotedName(String name)
public static String quotedName(String name)
//package com.java2s; //License from project: Open Source License public class Main { public static String quotedName(String name) { if (name.indexOf(' ') >= 0 || name.indexOf('.') >= 0) return '"' + name + '"'; else/*from w ww. java2 s . c o m*/ return name; } }