@Test public void testExtractFromClasspath() throws Exception { FileDataInputParameter p = new FileDataInputParameter(); p.setDestination(new ConfiguredProduceDestination("xstream-standalone.xml")); AdaptrisMessage msg = AdaptrisMessageFactory.getDefaultInstance().newMessage(); assertNotNull(p.extract(msg)); }
@Override public String extract(InterlokMessage message) throws CoreException { try { return load(new URLString(url(message)), message.getContentEncoding()); } catch (IOException ex) { throw ExceptionHelper.wrapCoreException(ex); } }
FileDataInputParameter extends FileParameter implements DataInputParameter<String> { @Override public String extract(InterlokMessage message) throws CoreException { try { return load(new URLString(url(message)), message.getContentEncoding()); } catch (IOException ex) { throw ExceptionHelper.wrapCoreException(ex); } } }
FileDataInputParameter extends FileParameter implements DataInputParameter<String> { @Override public String extract(InterlokMessage message) throws CoreException { try { return load(new URLString(url(message)), message.getContentEncoding()); } catch (IOException ex) { throw ExceptionHelper.wrapCoreException(ex); } } FileDataInputParameter(); }
FileDataInputParameter extends FileParameter implements DataInputParameter<String> { @Override public String extract(InterlokMessage message) throws CoreException { try { return load(new URLString(url(message)), message.getContentEncoding()); } catch (IOException ex) { throw ExceptionHelper.wrapCoreException(ex); } } FileDataInputParameter(); @Override String extract(InterlokMessage message); }
FileDataInputParameter extends FileParameter implements DataInputParameter<String> { @Override public String extract(InterlokMessage message) throws CoreException { try { return load(new URLString(url(message)), message.getContentEncoding()); } catch (IOException ex) { throw ExceptionHelper.wrapCoreException(ex); } } FileDataInputParameter(); @Override String extract(InterlokMessage message);  }