| Modifier and Type | Class and Description |
|---|---|
| private static enum | PyReader.
State of the CSV reader. |
| Modifier and Type | Field and Description |
|---|---|
| public PyDialect | dialect
Parsing Dialect. |
| private StringBuffer | field
Current field builder in here. |
| private PyList | fields
Field list for current record. |
| private static final int | INITIAL_BUILDER_CAPACITY
Initial capacity of the field StringBuilder. |
| private PyObject | input_iter
The underlying input iterator. |
| public int | line_num
The current line number. |
| private boolean | numeric_field
Whether the field should be treated as numeric. |
| public static final String | |
| private PyReader. | state
Current CSV parse state. |
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __iternext__()
Implements abstract org. Return the next element of the sequence that this is an iterator for. |
| private void | |
| private void | |
| private void | |
| private void | |
| public boolean | refersDirectlyTo(PyObject ob)
Overrides org. Implements org. Optional operation. |
| public int | traverse(Visitproc visit, Object arg)
Overrides org. Implements org. Traverses all directly contained |
| dialect | back to summary |
|---|---|
| public PyDialect dialect Parsing Dialect. | |
| field | back to summary |
|---|---|
| private StringBuffer field Current field builder in here. | |
| fields | back to summary |
|---|---|
| private PyList fields Field list for current record. | |
| INITIAL_BUILDER_CAPACITY | back to summary |
|---|---|
| private static final int INITIAL_BUILDER_CAPACITY Initial capacity of the field StringBuilder. | |
| input_iter | back to summary |
|---|---|
| private PyObject input_iter The underlying input iterator. | |
| line_num | back to summary |
|---|---|
| public int line_num The current line number. | |
| numeric_field | back to summary |
|---|---|
| private boolean numeric_field Whether the field should be treated as numeric. | |
| reader_doc | back to summary |
|---|---|
| public static final String reader_doc | |
| state | back to summary |
|---|---|
| private PyReader. Current CSV parse state. | |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| PyReader | back to summary |
|---|---|
| public PyReader(PyObject input_iter, PyDialect dialect) | |
| __iternext__ | back to summary |
|---|---|
| public PyObject __iternext__() Implements abstract org. Doc from org. Return the next element of the sequence that this is an iterator for. Returns null when the end of the sequence is reached. | |
| parse_add_char | back to summary |
|---|---|
| private void parse_add_char(char c) | |
| parse_process_char | back to summary |
|---|---|
private void parse_process_char(char c)
| |
| parse_reset | back to summary |
|---|---|
| private void parse_reset() | |
| parse_save_field | back to summary |
|---|---|
| private void parse_save_field() | |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Overrides org. Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Overrides org. Implements org. Doc from org. Traverses all directly contained
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final PyReader. | |
| public static final PyReader. | |
| public static final PyReader. | |
| public static final PyReader. | |
| public static final PyReader. | |
| public static final PyReader. | |
| public static final PyReader. | |
| public static final PyReader. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PyReader. | |
| public static PyReader. |
| EAT_CRNL | back to summary |
|---|---|
| public static final PyReader. | |
| ESCAPE_IN_QUOTED_FIELD | back to summary |
|---|---|
| public static final PyReader. | |
| ESCAPED_CHAR | back to summary |
|---|---|
| public static final PyReader. | |
| IN_FIELD | back to summary |
|---|---|
| public static final PyReader. | |
| IN_QUOTED_FIELD | back to summary |
|---|---|
| public static final PyReader. | |
| QUOTE_IN_QUOTED_FIELD | back to summary |
|---|---|
| public static final PyReader. | |
| START_FIELD | back to summary |
|---|---|
| public static final PyReader. | |
| START_RECORD | back to summary |
|---|---|
| public static final PyReader. | |
| ParserState | back to summary |
|---|---|
| private ParserState() | |
| valueOf | back to summary |
|---|---|
| public static PyReader. | |
| values | back to summary |
|---|---|
| public static PyReader. | |