@Test public void testProcessString() throws Exception { ConfigPreProcessors p = new ConfigPreProcessors(new DummyConfigurationPreProcessor(new KeyValuePairSet())); assertNotNull(p.process("<xml/>")); }
public String process(URL urlToXml) throws CoreException { try (InputStream inputStream = urlToXml.openConnection().getInputStream()){ String xml = IOUtils.toString(inputStream, Charset.defaultCharset()); return this.process(xml); } catch (Exception ex) { throw ExceptionHelper.wrapCoreException(ex); } }
ConfigPreProcessors extends AbstractCollection<ConfigPreProcessor> { public String process(URL urlToXml) throws CoreException { try (InputStream inputStream = urlToXml.openConnection().getInputStream()){ String xml = IOUtils.toString(inputStream, Charset.defaultCharset()); return this.process(xml); } catch (Exception ex) { throw ExceptionHelper.wrapCoreException(ex); } } }
ConfigPreProcessors extends AbstractCollection<ConfigPreProcessor> { public String process(URL urlToXml) throws CoreException { try (InputStream inputStream = urlToXml.openConnection().getInputStream()){ String xml = IOUtils.toString(inputStream, Charset.defaultCharset()); return this.process(xml); } catch (Exception ex) { throw ExceptionHelper.wrapCoreException(ex); } } ConfigPreProcessors();  ConfigPreProcessors(Collection<? extends ConfigPreProcessor> existing);  ConfigPreProcessors(ConfigPreProcessor... processors); }
ConfigPreProcessors extends AbstractCollection<ConfigPreProcessor> { public String process(URL urlToXml) throws CoreException { try (InputStream inputStream = urlToXml.openConnection().getInputStream()){ String xml = IOUtils.toString(inputStream, Charset.defaultCharset()); return this.process(xml); } catch (Exception ex) { throw ExceptionHelper.wrapCoreException(ex); } } ConfigPreProcessors();  ConfigPreProcessors(Collection<? extends ConfigPreProcessor> existing);  ConfigPreProcessors(ConfigPreProcessor... processors); String process(URL urlToXml); String process(String xml); @Override Iterator<ConfigPreProcessor> iterator(); @Override boolean add(ConfigPreProcessor preProcessor); @Override boolean addAll(Collection<? extends ConfigPreProcessor> c); @Override void clear(); @Override int size(); List<ConfigPreProcessor> getPreProcessors(); void setPreProcessors(List<ConfigPreProcessor> preProcessors); }
ConfigPreProcessors extends AbstractCollection<ConfigPreProcessor> { public String process(URL urlToXml) throws CoreException { try (InputStream inputStream = urlToXml.openConnection().getInputStream()){ String xml = IOUtils.toString(inputStream, Charset.defaultCharset()); return this.process(xml); } catch (Exception ex) { throw ExceptionHelper.wrapCoreException(ex); } } ConfigPreProcessors();  ConfigPreProcessors(Collection<? extends ConfigPreProcessor> existing);  ConfigPreProcessors(ConfigPreProcessor... processors); String process(URL urlToXml); String process(String xml); @Override Iterator<ConfigPreProcessor> iterator(); @Override boolean add(ConfigPreProcessor preProcessor); @Override boolean addAll(Collection<? extends ConfigPreProcessor> c); @Override void clear(); @Override int size(); List<ConfigPreProcessor> getPreProcessors(); void setPreProcessors(List<ConfigPreProcessor> preProcessors);  }