private void setStaticContents() { Set<String> tmp = new HashSet<String>(); String[] s = StringUtil.split(this.mgr_static_content_extensions, ','); for (int i = 0; i < s.length; i++) { String ss = s[i].trim(); if (ss.length() > 0) { tmp.add(ss); } } static_contents = tmp; }
public boolean isStaticContents(String content) { return static_contents.contains(content); }