Package tech.tablesaw.io.html
Class HtmlReadOptions
java.lang.Object
tech.tablesaw.io.ReadOptions
tech.tablesaw.io.html.HtmlReadOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class tech.tablesaw.io.ReadOptions
ReadOptions.ColumnTypeReadOptions
-
Field Summary
Modifier and TypeFieldDescriptionprotected Integer
Which table from the page should be read? Null means no specific index was set.Fields inherited from class tech.tablesaw.io.ReadOptions
allowDuplicateColumnNames, columnTypeReadOptions, columnTypesToDetect, dateFormat, dateFormatter, dateTimeFormat, dateTimeFormatter, DEFAULT_IGNORE_ZERO_DECIMAL, DEFAULT_SKIP_ROWS_WITH_INVALID_COLUMN_COUNT, EXTENDED_TYPES, header, ignoreZeroDecimal, locale, maxCharsPerColumn, minimizeColumnSizes, missingValueIndicators, sample, skipRowsWithInvalidColumnCount, source, tableName, timeFormat, timeFormatter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlReadOptions.Builder
static HtmlReadOptions.Builder
builder
(InputStream stream) This method may cause tablesaw to buffer the entire InputStream.static HtmlReadOptions.Builder
This method may cause tablesaw to buffer the entire InputStream.static HtmlReadOptions.Builder
static HtmlReadOptions.Builder
static HtmlReadOptions.Builder
static HtmlReadOptions.Builder
builderFromFile
(String fileName) static HtmlReadOptions.Builder
builderFromString
(String contents) static HtmlReadOptions.Builder
builderFromUrl
(String url) Methods inherited from class tech.tablesaw.io.ReadOptions
allowDuplicateColumnNames, columnTypeReadOptions, columnTypesToDetect, dateFormatter, dateTimeFormatter, header, ignoreZeroDecimal, locale, minimizeColumnSizes, missingValueIndicators, sample, skipRowsWithInvalidColumnCount, source, tableName, timeFormatter
-
Field Details
-
tableIndex
Which table from the page should be read? Null means no specific index was set.
-
-
Constructor Details
-
HtmlReadOptions
-
-
Method Details
-
builder
-
builder
-
builder
-
builder
- Throws:
IOException
-
builderFromFile
-
builderFromString
-
builderFromUrl
- Throws:
IOException
-
builder
This method may cause tablesaw to buffer the entire InputStream.If you have a large amount of data, you can do one of the following: 1. Use the method taking a File instead of a stream, or 2. Provide the array of column types as an option. If you provide the columnType array, we skip type detection and can avoid reading the entire file
-
builder
This method may cause tablesaw to buffer the entire InputStream.If you have a large amount of data, you can do one of the following: 1. Use the method taking a File instead of a reader, or 2. Provide the array of column types as an option. If you provide the columnType array, we skip type detection and can avoid reading the entire file
-
tableIndex
-