Class FileReader

  • All Implemented Interfaces:

    public class FileReader
    extends java.lang.Object
    implements java.lang.Iterable<>
    Scrapes HTML tables from URLs using Jsoup.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  FileReader.FileReaderIterator
      Iterates over HTML tables, returning an Elements per row.
    • Field Summary

      Modifier and Type Field Description
      private java.nio.charset.Charset charset  
      private headings  
      private java.lang.Integer index  
      private java.lang.String selector  
      private Source source  
      private org.jsoup.nodes.Element tableElement  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      private org.jsoup.nodes.Element getBestTable​(org.jsoup.nodes.Document doc)  
      (package private) getHeadings()  
      private org.jsoup.nodes.Element getSelectedTable​(org.jsoup.nodes.Document doc, java.lang.String selector)  
      private void getTable()  
      FileReader.FileReaderIterator iterator()  
      (package private) void refresh()  
      private java.lang.String tableKey()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator