Here you can find the source of quoteLocation(String location)
protected static String quoteLocation(String location)
//package com.java2s; //License from project: Apache License public class Main { protected static String quoteLocation(String location) { if (location == null) { return null; }/*www . ja v a2 s . c om*/ if (!location.startsWith("\"")) { location = "\"" + location; } if (!location.endsWith("\"")) { location = location + "\""; } return location; } }