@Override public InputStream getInputStream() { final String remoteUrl = getProperty(url); if (StringUtils.isNotBlank(remoteUrl)) { return DownloadHelper.getInputStream(remoteUrl); } return null; }
@Export @Override public GraphObject getSearchContext(final String searchTerm, final int contextLength) { final String text = getProperty(extractedContent); if (text != null) { return DownloadHelper.getContextObject(searchTerm, text, contextLength); } return null; }