public class TableJSonWriter extends GridJSonWriter
GridJSonWriter.JGridSonWriterState| Modifier and Type | Field and Description |
|---|---|
protected TableDefinition |
tableDefinition |
dataDeclared, fieldsCount, firstColumn, firstField, firstRow, offsetDeclared, rowsCount, state, totalLengthDeclared, writer| Constructor and Description |
|---|
TableJSonWriter(Writer writer,
TableDefinition tableDefinition) |
| Modifier and Type | Method and Description |
|---|---|
void |
endRow()
Ends the data row.
|
void |
setOffset(int offset) |
void |
setTotalLength(int length) |
void |
startData() |
addKey, addValue, addValue, addValue, addValue, addValue, addValue, addValueKey, appendQuoted, checkFirstField, checkState, close, endData, setOffset, setTotalLength, startData, startRowprotected TableDefinition tableDefinition
public TableJSonWriter(Writer writer, TableDefinition tableDefinition) throws IOException
IOExceptionpublic void startData()
throws IOException
IOExceptionpublic void endRow()
throws IOException
GridJSonWriterendRow in class GridJSonWriterIOExceptionpublic void setTotalLength(int length)
throws IOException
IOExceptionpublic void setOffset(int offset)
throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.