Package tech.tablesaw.io.html
Class HtmlReadOptions
java.lang.Object
tech.tablesaw.io.ReadOptions
tech.tablesaw.io.html.HtmlReadOptions
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class tech.tablesaw.io.ReadOptions
ReadOptions.ColumnTypeReadOptions -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IntegerWhich 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlReadOptions.Builderstatic HtmlReadOptions.Builderbuilder(InputStream stream) This method may cause tablesaw to buffer the entire InputStream.static HtmlReadOptions.BuilderThis method may cause tablesaw to buffer the entire InputStream.static HtmlReadOptions.Builderstatic HtmlReadOptions.Builderstatic HtmlReadOptions.Builderstatic HtmlReadOptions.BuilderbuilderFromFile(String fileName) static HtmlReadOptions.BuilderbuilderFromString(String contents) static HtmlReadOptions.BuilderbuilderFromUrl(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
-