Here you can find the source of unescapeQuotes(String value)
public static String unescapeQuotes(String value)
//package com.java2s; //License from project: Apache License public class Main { public static String unescapeQuotes(String value) { // if (value.startsWith("\\\"") && value.endsWith("\\\"")) { // return value.substring(2, value.length() - 2); // } if (value.startsWith("\"") && value.endsWith("\"")) { return value.substring(1, value.length() - 1); }//from ww w . j a va 2 s. c o m return value; } }