public class Parameters extends Parameters
| Modifier and Type | Field and Description |
|---|---|
int |
columnNamesLineNum
Number of the line (1-based) containing field names (column captions).
|
String |
commentColumns
Indicates which columns contain comments.
|
String |
commentSourceRefs
Indicates which source columns the comment columns on the commentColumns list correspond to.
|
static int |
DETECT_COLUMNS_COL_NAMES |
static int |
DETECT_COLUMNS_FIXED_NUMBER |
static int |
DETECT_COLUMNS_NONE |
int |
detectColumnsMode
The filter can detect number of columns in the input.
|
int |
numColumns
Number of columns in the input.
|
int |
recordIdColumn
Index (1-based) of the column containing an optional record ID (or a key) of the current row in the table.
|
static int |
SEND_COLUMNS_ALL |
static int |
SEND_COLUMNS_LISTED |
static int |
SEND_COLUMNS_NONE |
static int |
SEND_HEADER_ALL |
static int |
SEND_HEADER_COLUMN_NAMES_ONLY |
static int |
SEND_HEADER_NONE |
int |
sendColumnsMode
Specifies values of which columns should be sent as text units
SEND_COLUMNS_NONE = 0 - none of the columns are sent as text units
SEND_COLUMNS_LISTED = 1 - only values from the columns listed in idColumns, sourceColumns, targetColumns, commentColumns
will be sent
SEND_COLUMNS_ALL = 2 - values from all columns will be sent.
|
int |
sendHeaderMode
If there are one or more lines containing description of the data, names of fields etc.,
and actual data don't start in the first line, then such first lines are considered a header, and this option specifies how to handle them:
SEND_HEADER_NONE = 0 - none of the header lines are sent as text units
SEND_HEADER_FIELD_NAMES_ONLY = 1 - only the values in the line specified by fieldNamesLineNum are sent as text units
SEND_HEADER_ALL = 2 - values in all header lines are sent as text units
|
String |
sourceColumns
Indicates which columns contain source text.
|
String |
sourceIdColumns
Indicates which columns contain source IDs.
|
String |
sourceIdSourceRefs
Indicates which source columns the source ID columns on the sourceIdSourceRefs list correspond to.
|
String |
sourceIdSuffixes
If there is the recordIdColumn index, and a source ID for the given column is not specified in the sourceIdColumns,
then the source ID for that column is compiled of the value in recordIdColumn column, and the corresponding suffix in the
sourceIdSuffixes.
|
String |
targetColumns
Indicates which columns contain target text.
|
String |
targetLanguages
Indicates which languages should be used in target columns.
|
String |
targetSourceRefs
Indicates which source columns the target columns on the targetColumns list correspond to.
|
static int |
TRIM_ALL |
static int |
TRIM_NONE |
static int |
TRIM_NONQUALIFIED_ONLY |
int |
trimMode
Specifies how field values are trimmed of spaces:
TRIM_NONE = 0 - field values are not trimmed
TRIM_NONQUALIFIED_ONLY = 1 - only non-qualified field values are trimmed, leading and trailing spaces remain in qualified fields
TRIM_ALL = 2 - both non-qualified and qualified field values are trimmed of leading and trailing spaces.
|
int |
valuesStartLineNum
Number of the line (1-based) where actual data start after the header.
|
codeFinderRules, preserveWS, subfilter, trimLeading, trimTrailing, unescapeSource, useCodeFinder, wrapModeownerbufferpathSIMPLIFIERRULES, SIMPLIFIERRULES_DISPLAY_NAME, SIMPLIFIERRULES_SHORT_DESC| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
parameters_load(ParametersString buffer)
Load from buffer.
|
protected void |
parameters_reset()
Reset parameters values to defaults.
|
protected void |
parameters_save(ParametersString buffer)
Save to buffer.
|
parameters_initexec, fromString, getData, getSimplifierRules, loadFromResource, loadFromResource, loadGroup, loadGroup, reset, saveGroup, saveGroup, saveToResource, saveToResource, setSimplifierRules, toString, validateSimplifierRulesfromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setStringgetParametersDescription, getPath, load, load, save, setPathpublic static final int DETECT_COLUMNS_NONE
detectColumnsMode,
Constant Field Valuespublic static final int DETECT_COLUMNS_COL_NAMES
public static final int DETECT_COLUMNS_FIXED_NUMBER
public static final int SEND_HEADER_NONE
sendHeaderMode,
Constant Field Valuespublic static final int SEND_HEADER_COLUMN_NAMES_ONLY
public static final int SEND_HEADER_ALL
public static final int SEND_COLUMNS_NONE
sendColumnsMode,
Constant Field Valuespublic static final int SEND_COLUMNS_LISTED
public static final int SEND_COLUMNS_ALL
public static final int TRIM_NONE
trimMode,
Constant Field Valuespublic static final int TRIM_NONQUALIFIED_ONLY
public static final int TRIM_ALL
public int columnNamesLineNum
Default: 0
public int valuesStartLineNum
Default: 1
public int detectColumnsMode
Default: DETECT_COLUMNS_NONE
public int numColumns
Extra columns are dropped, empty TUs are created for missing columns.
Default: 1
public int sendHeaderMode
valuesStartLineNum,
Default: SEND_HEADER_COLUMN_NAMES_ONLYpublic int trimMode
Default: TRIM_NONQUALIFIED_ONLYpublic int sendColumnsMode
Default: SEND_COLUMNS_LISTED (send only columns listed in idColumns, sourceColumns, targetColumns, commentColumns)
public int recordIdColumn
Default: 0
public String sourceColumns
Default: Empty
public String sourceIdColumns
Default: Empty
public String sourceIdSuffixes
Default: Empty
public String sourceIdSourceRefs
Default: Empty
public String targetColumns
Default: Empty
public String targetSourceRefs
Default: Empty
public String targetLanguages
Default: Empty
public String commentColumns
Default: Empty
public String commentSourceRefs
Default: Empty
protected void parameters_load(ParametersString buffer)
AbstractParametersparameters_load in class Parametersprotected void parameters_reset()
AbstractParametersparameters_reset in class Parametersprotected void parameters_save(ParametersString buffer)
AbstractParametersparameters_save in class ParametersCopyright © 2021. All rights reserved.