Provides access to data of a CSV file or stream to be used while assembling a document.
To access data of the corresponding file or stream while assembling a document, pass an instance of this class as a data source to one of DocumentAssembler. assembleDocument overloads.
Data types of comma-separated values are determined automatically upon their string representations. So in template documents, you can work with typed values rather than just strings. The engine is capable to automatically recognize values of the following types:
java.lang.Long
java.lang.Double
java.lang.Boolean
java.util.Date
java.lang.String
Note that for automatic recognition of data types to work, string representations of comma-separated values should be formed using invariant culture settings.
To override default behavior of CSV data loading, initialize and pass a CsvDataLoadOptions instance to a constructor of this class.