Esempio n. 1
0
 /// <summary>
 /// Loads a TSV (Tab-Separated Value) file that has been pre-imported
 /// to a string to the filter.  The TSV will have been generated by SQL
 /// before loading.  Only one TSV or CSV file can be loaded at once.
 /// </summary>
 /// <param name="tsv">String containing the contents of an exported TSV file.</param>
 public void LoadTSVFromString(string tsv)
 {
     _loadedFile = new SQLCSVFile(tsv, false, '\t');
 }
Esempio n. 2
0
 /// <summary>
 /// Loads a TSV (Tab-Separated Value) file that was exported from SQL.
 /// Only one TSV or CSV file can be loaded at once.
 /// </summary>
 /// <param name="file">Path of the exported TSV file.</param>
 public void LoadTSVFromFile(string file)
 {
     _loadedFile = new SQLCSVFile(file, true, '\t');
 }
Esempio n. 3
0
 /// <summary>
 /// Loads a CSV (Comma-Separated Value) file that has been pre-imported
 /// to a string to the filter.  The CSV will have been generated by SQL
 /// before loading.  Only one CSV or TSV file can be loaded at once.
 /// </summary>
 /// <param name="csv">String containing the contents of an exported CSV file.</param>
 public void LoadCSVFromString(string csv)
 {
     _loadedFile = new SQLCSVFile(csv, false);
 }