public static String encodeObjectNamePart(final String part) {
    // return ObjectName.quote(part);
    String answer = part.replaceAll("[\\:\\,\\'\\\"]", "_");
    answer = answer.replaceAll("\\?", "&qe;");
    answer = answer.replaceAll("=", "&amp;");
    answer = answer.replaceAll("\\*", "&ast;");
    return answer;
  }
public static String encodeObjectNamePart ( final String part ) { String answer = part . replaceAll ( "[\\:\\,\\'\\\"]" , "_" ) ; answer = answer . replaceAll ( "\\?" , "&qe;" ) ; answer = answer . replaceAll ( "=" , "&amp;" ) ; answer = answer . replaceAll ( "\\*" , "&ast;" ) ; return answer ; }
@param part
@return encoded object name part