|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object text.FileMaker text.JSONMaker
public class JSONMaker
Makes JSON file from the data structure.
Field Summary |
---|
Fields inherited from interface text.TextConstants |
---|
COMMA, CREATED_BY_ZYX, DELIM, DOUBLE_QUOTE, ELEMENT_DOCUMENT, ELEMENT_ITEM, EMPTY, FALSE, FORWARD_SLASH, FOUR_SPACES, ID_EQUALS, JAVA_LANG_STRING, LEFT_ANGLE, LEFT_BRACE, LEFT_BRACKET, MENU_ONE, MENU_TWO, NEW_LINE, ONE, RIGHT_ANGLE, RIGHT_BRACE, RIGHT_BRACKET, SEMICOLON, SINGLE_QUOTE, SPACE, TRUE, TWO, XML_VERSION, ZERO |
Constructor Summary | |
---|---|
JSONMaker()
Default constructor |
Method Summary | |
---|---|
java.lang.String |
serialise(java.lang.Object[] columnNames,
java.util.List<java.util.List<java.lang.Object>> data)
Converts the two-dimensional data structure collection to a string representing a JSON file. |
Methods inherited from class text.FileMaker |
---|
addNextComponent, getSerialisedFile, indent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSONMaker()
Method Detail |
---|
public java.lang.String serialise(java.lang.Object[] columnNames, java.util.List<java.util.List<java.lang.Object>> data)
columnNames
- - names for the columns.data
- - list of the data structure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |