Data Integrator (Python API)
|
Base class for tab-separated file i/o. More...
Public Member Functions | |
def | __init__ (s, ffn) |
Ctor. More... | |
def | IsValid (s) |
Check if the object is ready for reading/writing. More... | |
def | Close (s) |
Close the file object associated with the file name. More... | |
Static Public Attributes | |
COL_SEP = CSV_SEP; | |
QUOTING = csv.QUOTE_NONE; | |
string | ESCAPE_CHAR = "\\"; |
Base class for tab-separated file i/o.
def cls.DefaultTable.CDefaultTableBase.__init__ | ( | s, | |
ffn | |||
) |
Ctor.
@param ffn Full path file name. If it is set to '-', the standard input or output will be opened instead.
Reimplemented in cls.DefaultTable.CVcfTableReader, and cls.DefaultTable.CDefaultTableReader.
def cls.DefaultTable.CDefaultTableBase.Close | ( | s | ) |
Close the file object associated with the file name.
Closes the file object. If it used to be @c stdout, nothing happens.
def cls.DefaultTable.CDefaultTableBase.IsValid | ( | s | ) |
Check if the object is ready for reading/writing.
After calling the constructor with the file name, this method reports if the file could be opened and thus the object is ready for reading or writing. @return @c True or @c False.
|
static |
|
static |
|
static |