/** * Processes the given {@link TextDocument} and the original HTML text (as an * {@link InputSource}). * * @param doc * The processed {@link TextDocument}. * @param origHTML * The original HTML document. * @return A List of enclosed {@link Image}s * @throws BoilerpipeProcessingException */ public List<Image> process(final TextDocument doc, final InputSource is) throws BoilerpipeProcessingException { final Implementation implementation = new Implementation(); implementation.process(doc, is); return implementation.linksHighlight; }
/** * Processes the given {@link TextDocument} and the original HTML text (as an * {@link InputSource}). * * @param doc * The processed {@link TextDocument}. * The original HTML document. * @return A List of enclosed {@link Image}s * @throws BoilerpipeProcessingException */ public List<Image> process(final TextDocument doc, final InputSource is) throws BoilerpipeProcessingException { final Implementation implementation = new Implementation(); implementation.process(doc, is); return implementation.linksHighlight; }
/** * Processes the given {@link TextDocument} and the original HTML text (as an * {@link InputSource}). * * @param doc * The processed {@link TextDocument}. * The original HTML document. * @return A List of enclosed {@link Image}s * @throws BoilerpipeProcessingException */ public List<Image> process(final TextDocument doc, final InputSource is) throws BoilerpipeProcessingException { final Implementation implementation = new Implementation(); implementation.process(doc, is); return implementation.linksHighlight; }