public static String getListMatch(String oneitem) { List ol = new ArrayList(1); ol.add(oneitem); return DBUtils.getListMatch(ol, null);
public static String getListMatch(List listItems, String badStartPattern) { StringBuffer assemblyMatch = null;  if (listItems != null && listItems.size() != 0) { assemblyMatch = new StringBuffer(); assemblyMatch.append("in ("); Iterator iter = listItems.iterator(); boolean first = true; while (iter.hasNext()) { String val = (String)iter.next();  if (val == null || val.equals("")) continue; if (badStartPattern != null && val.startsWith(badStartPattern)) continue; if (first) { first = false; } else { assemblyMatch.append(", "); } assemblyMatch.append("'"); assemblyMatch.append(val); assemblyMatch.append("'"); } assemblyMatch.append(")"); if (first) { return "is null"; } else { return assemblyMatch.toString(); } } else { return "is null"; }
  public static String getListMatch(String oneitem) {    List ol = new ArrayList(1);    ol.add(oneitem);    return DBUtils.getListMatch(ol, null);  }