我想通过网络表格将数据写入excel。 开始的行使用空白数据创建,最后一行填充数据,最后一个索引值。 即使数据存在于Arraylist中,其他行也没有被填充数据。 public class Write_Excel {
public static `FileInputStream` `fis`;
public static FileOutputStream fos;
JSONArray topologyInfo = new JSONArray();
String[] ids = {"1","2","3"};
JSONObject topoInfo = readTaskLog(); //returns an object like {Name:"Stack"}
if (topoInfo != null) {
for (String id : id