Age | Commit message (Collapse) | Author |
|
|
|
|
|
They're used to map CSV fields with class fields.
|
|
Next I'll add a new method parse().
|
|
|
|
In this wway we can create a list of rows of the type defined by cls attribute.
|
|
|
|
|
|
|
|
|
|
This method is used when you want to create an in-memory CSV and use that with
some CSV parser.
|
|
|
|
In case of empty lines (such as a newline at the end of file) will be
skiped. The code works also for empty lines in the middle of the file.
|
|
with a comma
I removed the line because, the last columns can be empty. Splitting the string
having a row like this:
str1;str2;
give us an array of strings like this:
[0] => "str1"
[1] => "str2"
[2] => ""
|
|
|