111112113114115116117118119
public void loadRules(URL url) throws Exception { loadRules(url.openStream()); } public void loadRules(InputStream in) throws Exception { FilterSet fs = FilterSet.load(in); getListModel().setContents(fs.getFilterRules()); in.close(); }