public class HtmlReadOptions
extends tech.tablesaw.io.ReadOptions
Modifier and Type | Class | Description |
---|---|---|
static class |
HtmlReadOptions.Builder |
Modifier and Type | Field | Description |
---|---|---|
protected Integer |
tableIndex |
Which table from the page should be read? Null means no specific index was set.
|
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
Modifier | Constructor | Description |
---|---|---|
protected |
HtmlReadOptions(HtmlReadOptions.Builder builder) |
Modifier and Type | Method | Description |
---|---|---|
static HtmlReadOptions.Builder |
builder(File file) |
|
static HtmlReadOptions.Builder |
builder(InputStream stream) |
This method may cause tablesaw to buffer the entire InputStream.
|
static HtmlReadOptions.Builder |
builder(Reader reader,
String tableName) |
This method may cause tablesaw to buffer the entire InputStream.
|
static HtmlReadOptions.Builder |
builder(String fileName) |
|
static HtmlReadOptions.Builder |
builder(URL url) |
|
static HtmlReadOptions.Builder |
builder(tech.tablesaw.io.Source source) |
|
static HtmlReadOptions.Builder |
builderFromFile(String fileName) |
|
static HtmlReadOptions.Builder |
builderFromString(String contents) |
|
static HtmlReadOptions.Builder |
builderFromUrl(String url) |
|
Integer |
tableIndex() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowDuplicateColumnNames, columnTypeReadOptions, columnTypesToDetect, dateFormatter, dateTimeFormatter, header, ignoreZeroDecimal, locale, minimizeColumnSizes, missingValueIndicators, sample, skipRowsWithInvalidColumnCount, source, tableName, timeFormatter
protected Integer tableIndex
protected HtmlReadOptions(HtmlReadOptions.Builder builder)
public static HtmlReadOptions.Builder builder(tech.tablesaw.io.Source source)
public static HtmlReadOptions.Builder builder(File file)
public static HtmlReadOptions.Builder builder(String fileName)
public static HtmlReadOptions.Builder builder(URL url) throws IOException
IOException
public static HtmlReadOptions.Builder builderFromFile(String fileName)
public static HtmlReadOptions.Builder builderFromString(String contents)
public static HtmlReadOptions.Builder builderFromUrl(String url) throws IOException
IOException
public static HtmlReadOptions.Builder builder(InputStream stream)
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
public static HtmlReadOptions.Builder builder(Reader reader, String tableName)
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
public Integer tableIndex()
Copyright © 2021. All rights reserved.