| Modifier and Type | Class and Description |
|---|---|
private static class |
FileReader.FileReaderIterator
Iterates over HTML tables, returning an Elements per row.
|
| Modifier and Type | Field and Description |
|---|---|
private Charset |
charset |
private org.jsoup.select.Elements |
headings |
private Integer |
index |
private String |
selector |
private Source |
source |
private org.jsoup.nodes.Element |
tableElement |
| Constructor and Description |
|---|
FileReader(Source source) |
FileReader(Source source,
String selector) |
FileReader(Source source,
String selector,
Integer index) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
private org.jsoup.nodes.Element |
getBestTable(org.jsoup.nodes.Document doc) |
(package private) org.jsoup.select.Elements |
getHeadings() |
private org.jsoup.nodes.Element |
getSelectedTable(org.jsoup.nodes.Document doc,
String selector) |
private void |
getTable() |
FileReader.FileReaderIterator |
iterator() |
(package private) void |
refresh() |
private String |
tableKey() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprivate final Source source
private final String selector
private final Integer index
private final Charset charset
private org.jsoup.nodes.Element tableElement
private org.jsoup.select.Elements headings
public FileReader(Source source, String selector, Integer index) throws FileReaderException
FileReaderExceptionpublic FileReader(Source source, String selector) throws FileReaderException
FileReaderExceptionpublic FileReader(Source source) throws FileReaderException
FileReaderExceptionprivate void getTable()
throws FileReaderException
FileReaderExceptionprivate org.jsoup.nodes.Element getSelectedTable(org.jsoup.nodes.Document doc,
String selector)
throws FileReaderException
FileReaderExceptionprivate org.jsoup.nodes.Element getBestTable(org.jsoup.nodes.Document doc)
throws FileReaderException
FileReaderExceptionvoid refresh()
throws FileReaderException
FileReaderExceptionorg.jsoup.select.Elements getHeadings()
throws FileReaderException
FileReaderExceptionprivate String tableKey()
public FileReader.FileReaderIterator iterator()
public void close()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.