TextDataReaderSettings Class

Spotfire 14.3 API Reference
Settings for the TextFileDataSource class.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Data.ImportTextDataReaderSettings

Namespace:  Spotfire.Dxp.Data.Import
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(2, 0)]
public sealed class TextDataReaderSettings

The TextDataReaderSettings type exposes the following members.

Constructors

  NameDescription
Public methodTextDataReaderSettings
Initializes a new instance of the TextDataReaderSettings class.
Top
Properties

  NameDescription
Public propertyAllowNewlinesInQuotedFields
Gets or sets a value indicating whether the data set has quoted fields which contain newline characters (that is, multi-line fields).
Public propertyCodePage
Gets or sets the code page.
Public propertyColumnNameConcatenation
Gets or sets the format string used to concatenate the column names if there are more than one column name row defined.
Public propertyColumnNameNullValueReplacement
Gets or sets the way an empty field is replaced if there are more than one name row.
Public propertyColumnNameNullValueReplacementString
Gets or sets the string used to replace empty fields when concatenation column names.
Public propertyColumnNameRows
Gets a readonly collection of column name rows.
Public propertyCommentPrefix
Gets or sets the string describing how a commented line starts.
Public propertyConstantFieldCount
Gets or sets the number of columns in the data set.
Public propertyCultureName
Gets or sets the name of the explicitly set culture. Example: "en-US" for English(United States) culture settings.
Public propertyDataTypesGivenName
Gets a mapping (Dictionary) between column names and column types.
Public propertyDefaultColumnName
Gets or sets the default column name. Add a "{0}" to get a 1-based index applied to the column name. If no "{0}" is added, one will be automatically appended to the end.
Public propertyHasQuoteChar
Gets or sets a value indicating whether the data set has quote characters. The quote character to use is set in QuoteChar.
Public propertyHasTrailingSeparator
Gets or sets a value indicating whether the data has trailing separator.
Public propertyIgnoreColumns
Gets a readonly collection of ignored columns.
Public propertyIgnoreRows
Gets a readonly collection of ignored rows.
Public propertyMinimumFieldCount
Gets or sets the minimum number of columns in the data set.
Public propertyNullValueDescriptor
Gets or sets the string describing how a null value will be described in the data set.
Public propertyQuoteChar
Gets or sets the quote character.
Public propertyQuoteCharEscape
Gets or sets the quote character escape sequence.
Public propertyReadOnly
Gets or sets a value indicating whether this instance is readonly.
Public propertySeparator
Gets or sets the separator string used to split the data set into fields.
Public propertyStartReadingRow
Gets or sets the row to start reading from.
Public propertyTypesRow
Gets or sets the types row.
Top
Methods

  NameDescription
Public methodAddColumnNameRow
Adds the provided row to the list of column name rows.
Public methodAddColumnNameRows
Adds the provided rows to the list of column name rows.
Public methodAddIgnoreColumn
Adds the provided column to the list of ignored columns.
Public methodAddIgnoreColumns
Adds the provided columns to the list of ignore columns.
Public methodAddIgnoreRow
Adds the provided row to the list of ignored rows.
Public methodAddIgnoreRows
Adds the provided rows to the list of ignored rows.
Public methodAddPercentColumn
Adds a column to the list of percent columns.
Public methodClearColumnNameRows
Clears the list of column name rows.
Public methodClearColumnNames
Clears the list of column names. If the clearPersisted flag is false, the persisted names are kept.
Public methodClearDataTypes
Clears the list of data types. If the clearPersisted flag is false, the persisted data types are kept.
Public methodClearFormatters
Clears the list of formatters. If the clearPersisted flag is false, the persisted formatters are kept.
Public methodClearIgnoreColumns
Clears the list of ignored columns.
Public methodClearIgnoreRows
Clears the list of ignored rows.
Public methodClearParsers
Clear the list of parsers.
Public methodClearPercentColumns
Clears the list of Percent columns.
Public methodClone
Makes a clone of the settings object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetColumnName
Gets the name for a specific column.
Public methodGetColumnOffset
Gets the offset for the column, that is the count of ignored columns prior to this column. This is used when reading the data in TextDataReader.
Public methodGetDataType
Gets the DataType for a specific column.
Public methodGetDataTypeName
Gets the Spotfire type for the specified column.
Public methodGetFormatter
Gets the IDataFormatter for the provided column.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInvariantCurrencySymbol
Gets the invariant currency symbol, if one exists.
Public methodGetParser
Gets the parser that will be used to parse this column. If none has been set, None will be returned.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasMoreHeaders
Returns true if there are any type or name rows with higher number than the provided row number.
Public methodIsPercentColumn
Returns true if the provided column is present in the list of percent columns.
Public methodRemoveColumnName
Removes the column name from the list of column names.
Public methodRemoveColumnNameRows
Removes the provided rows from the list of column name rows.
Public methodRemoveDataType
Removes the stored data type for the specified column.
Public methodRemoveFormatter
Removes the IDataFormatter for the provided column.
Public methodRemoveIgnoreColumns
Removes the provided columns to the list of ignored columns.
Public methodRemoveIgnoreRows
Removes the provided rows from the list of ignored rows.
Public methodRemoveParser
Removes the parser for the provided column from the list of parsers, if it exists.
Public methodRemovePercentColumn
Removes the provided column from the list of percent columns, if it exists.
Public methodSetColumnName
Explicitly sets the name of a column.
Public methodSetDataType
Explicitly sets the DataType of a column.
Public methodSetFormatter
Sets the IDataFormatter for the provided column.
Public methodSetInvariantCurrencySymbol
Sets the invariant currency symbol for the provided column index.
Public methodSetParser
Sets the parser to use for the provided column.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberValidateColumnType
Validates the data type string, and if valid return the corresponding data type, otherwise returns Undefined.
Public methodValidateUniqueLines
A sanity check to make sure that no name rows, type row or ignored rows are the same.
Public methodStatic memberVerifyDefaultColumnName(String)
Verifies if the string is a valid default column name string.
Public methodStatic memberVerifyDefaultColumnName(String, String)
Verifies if the string is a valid default column name string.
Top
Events

  NameDescription
Public eventCultureChanged
Event raised when the culture is changed in the settings object.
Top
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference