public class Parameters extends StringParameters implements IEditorDescriptionProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
CSV_AUTODETECTCOLUMNTYPES |
static String |
CSV_AUTODETECTCOLUMNTYPESROW |
static String |
CSV_FORMATCOLS |
static String |
CSV_NOEXTRACTCOLS |
static String |
CSV_STARTINGROW |
bufferpath| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
EditorDescription |
createEditorDescription(ParametersDescription paramDesc) |
boolean |
getCsvAutoDetectColumnTypes()
Gets the detection mode used when determining each column's extraction type.
|
int |
getCsvAutoDetectColumnTypesRow()
Gets the row number to use when using 'auto-detection' to determine column types.
|
String |
getCsvFormatCols()
Gets the comma-separated list of the indexes of the columns to process with a non-plain-text filter (0-based index).
|
String |
getCsvNoExtractCols()
Gets the comma-separated list of the indexes of the columns not to extract (0-based index).
|
int |
getCsvStartingRow()
Gets the row number where the extraction should start (1-based index).
|
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
void |
reset()
Reset this parameters object to its default values.
|
void |
setCsvAutoDetectColumnTypes(boolean csvAutoDetectColumnTypes) |
void |
setCsvAutoDetectColumnTypesRow(int csvAutoDetectColumnTypesRow) |
void |
setCsvFormatCols(String csvFormatCols) |
void |
setCsvNoExtractCols(String csvNoExtractCols) |
void |
setCsvStartingRow(int csvStartingRow) |
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringpublic static final String CSV_NOEXTRACTCOLS
public static final String CSV_FORMATCOLS
public static final String CSV_STARTINGROW
public static final String CSV_AUTODETECTCOLUMNTYPES
public static final String CSV_AUTODETECTCOLUMNTYPESROW
public void reset()
StringParameters
Subclasses should override this method to set any initial
values and instantiate any objects that require allocation. It
is recommended that subclasses also call super.reset()
in the override to ensure that the buffer is empty.
reset in interface IParametersreset in class StringParameterspublic String getCsvNoExtractCols()
public void setCsvNoExtractCols(String csvNoExtractCols)
public String getCsvFormatCols()
public void setCsvFormatCols(String csvFormatCols)
public int getCsvStartingRow()
public void setCsvStartingRow(int csvStartingRow)
public boolean getCsvAutoDetectColumnTypes()
public void setCsvAutoDetectColumnTypes(boolean csvAutoDetectColumnTypes)
public int getCsvAutoDetectColumnTypesRow()
public void setCsvAutoDetectColumnTypesRow(int csvAutoDetectColumnTypesRow)
public ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParameterspublic EditorDescription createEditorDescription(ParametersDescription paramDesc)
createEditorDescription in interface IEditorDescriptionProviderCopyright © 2022. All rights reserved.