class TemplateResource {

	protected Set<String> keywordsFromString(String keywords) {
		Set<String> keywordSet = new LinkedHashSet<>();
		if (keywords != null) {
			String[] splitKeywords = keywords.split("\\|");
			if (splitKeywords != null) {
				keywordSet.addAll(Arrays.asList(splitKeywords));
			}
		}
		return keywordSet;
	}

}