Method | Description | |
---|---|---|
AppendSeparator ( StringBuilder line, |
Append a separator. The separator will only be appended if the line is not empty. This is used to build comma(or other) separated lists.
|
|
BasicFile ( ) : System |
Construct the object, and set the defaults.
|
|
PerformBasicCounts ( ) : void |
Perform a basic analyze of the file. This method is used mostly internally.
|
|
PrepareOutputFile ( |
Prepare the output file, write headers if needed.
|
|
ReadHeaders ( |
Read the headers from a CSV file. Used mostly internally.
|
|
ReportDone ( String task ) : void |
Report that we are done. Used internally.
|
|
ReportDone ( bool isAnalyzing ) : void |
Report that we are done. Used internally.
|
|
RequestStop ( ) : void |
Request a stop.
|
|
ResetStatus ( ) : void |
Reset the reporting stats. Used internally.
|
|
ShouldStop ( ) : bool | ||
ToString ( ) : String | ||
UpdateStatus ( String task ) : void |
Report the current status.
|
|
UpdateStatus ( bool isAnalyzing ) : void |
Update the status. Used internally.
|
|
ValidateAnalyzed ( ) : void |
Validate that the file has been analyzed. Throw an error, if it has not.
|
|
WriteRow ( |
Write a row to the output file.
|
public static AppendSeparator ( StringBuilder line, |
||
line | StringBuilder | The line to append to. |
format | The format to use. | |
return | void |
public PrepareOutputFile ( |
||
outputFile | The name of the output file. | |
return |
public ReadHeaders ( |
||
csv | The CSV file to read from. | |
return | void |
public ReportDone ( String task ) : void | ||
task | String | The message. |
return | void |
public ReportDone ( bool isAnalyzing ) : void | ||
isAnalyzing | bool | True if we are analyzing. |
return | void |
public UpdateStatus ( String task ) : void | ||
task | String | The string to report. |
return | void |
public UpdateStatus ( bool isAnalyzing ) : void | ||
isAnalyzing | bool | True if we are in the process of analyzing. |
return | void |
public WriteRow ( |
||
tw | The output stream. | |
row | The row to write out. | |
return | void |