public static List<String> getListFromString(String pattern)
	  {
	    List<String> items = new ArrayList<String>();
	    String[] patternParts = pattern.split("\\|");
	    for (String part : patternParts)
	    {
	      items.add(part);
	    }
	    return items;
	  }