Свойство | Тип | Описание | |
---|---|---|---|
_filename | string | ||
_line | StringBuilder | ||
_outputStream | |||
_splitChars | char[] |
Метод | Описание | |
---|---|---|
Close ( ) : bool |
closes the underlying stream
|
|
CreateTable ( string tablename, IEnumerable |
simply appends the column row. call this first! (you would have to call this first anyway.)
|
|
Flush ( ) : bool |
flushes the stream
|
|
MakeColumnLine ( List |
allows you to use any functional writable stream build a column line (first line in a delim-separated value file)
|
|
MakeFormatLine ( List |
generate a String.Format line based on our column count
|
|
SetTablename ( string tableName ) : void |
changes the currently active table, does nothing for this type of file, since it only contains one table.
|
|
SetWriteFile ( string filename ) : bool |
specify an output file for APPENDing to, and sharing reading. (if you don't like it, send in your own filestream :)
|
|
TabSeparatedValueWriter ( ) : System |
construct a new blank writer (any writes will throw exceptions if you don't set a stream or a file!)
|
|
TabSeparatedValueWriter ( string filename ) : System |
construct a new writer to append to the given file
|
|
WriteLine ( IEnumerable |
Make sure you have a value for every column! This is really intentionally not thread safe, do not share this class across threads. really, don't write one of these files across multiple threads at the same time.
|
|
WriteLine ( string line ) : bool |
Write a line directly to our output
|
public CreateTable ( string tablename, IEnumerable |
||
tablename | string | |
columns | IEnumerable |
|
Результат | bool |
public MakeColumnLine ( List |
||
columns | List |
|
Результат | string |
public MakeFormatLine ( List |
||
columns | List |
|
Результат | string |
public SetTablename ( string tableName ) : void | ||
tableName | string | |
Результат | void |
public SetWriteFile ( string filename ) : bool | ||
filename | string | |
Результат | bool |
public TabSeparatedValueWriter ( ) : System | ||
Результат | System |
public TabSeparatedValueWriter ( string filename ) : System | ||
filename | string | |
Результат | System |
public WriteLine ( IEnumerable |
||
values | IEnumerable |
|
Результат | bool |
protected StreamWriter,System.IO _outputStream | ||
Результат |