}
return tokens.toArray(new String[]{});
}
private void addNode(String[] nodeData) {
NodeDraft node;
String id = nodeData[0];
if (!container.nodeExists(id)) {
node = container.factory().newNodeDraft(id);
container.addNode(node);
} else {
node = container.getNode(id);
}
for (int i = 1; i < nodeDataColumns.length; i++) {
node.parseAndSetValue(nodeDataColumns[i].getId(), nodeData[i]);
}
}