List of usage examples for com.liferay.portal.kernel.json JSONArray getJSONArray
public JSONArray getJSONArray(int index);
From source file:com.liferay.exportimport.resources.importer.internal.util.FileSystemImporter.java
License:Open Source License
protected void addLayoutColumns(Layout layout, String columnPrefix, JSONArray columnsJSONArray) throws Exception { if (columnsJSONArray == null) { return;//from w ww.j a va 2s .com } for (int i = 0; i < columnsJSONArray.length(); i++) { JSONArray columnJSONArray = columnsJSONArray.getJSONArray(i); addLayoutColumn(layout, columnPrefix + (i + 1), columnJSONArray); } }