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