### Question:
LineFormater { public abstract List<Validatable> formatLine(String line) throws StopParseException; LineFormater(MyUrl myUrl); abstract List<Validatable> formatLine(String line); String getUrl(); MyUrl getMyUrl(); @Override int hashCode(); @Override boolean equals(Object obj); List<Object> getParams(); Boolean isResultValueEqNA(); abstract Boolean canHaveNoResultsFound();  }### Answer:
@Test public final void testFormatLine() { try { BufferedReader reader = new BufferedReader( new FileReader("/home/guil/tmp/Reutersdji.html")); String line; for (;(line=reader.readLine()) != null; ) { List<Validatable> stock = formater.formatLine(line); if (stock.size() > 0) System.out.println(stock); } reader.close(); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } catch (StopParseException e) { e.printStackTrace(); } }