diff --git a/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java b/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java index cc0f67d..a581a7f 100644 --- a/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java +++ b/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java @@ -12,9 +12,17 @@ import java.util.Map; public class OFResultSet { private Item item; - private List rows; + private List> rows; private List meta; + public List> getRows() { + return rows; + } + + public void setRows(List> rows) { + this.rows = rows; + } + public Item getItem() { return item; } @@ -23,13 +31,6 @@ public class OFResultSet { this.item = item; } - public List getRows() { - return rows; - } - - public void setRows(List rows) { - this.rows = rows; - } public List getMeta() { return meta; @@ -49,7 +50,7 @@ public class OFResultSet { this.meta = meta; } - public void addRow(String [] row) { + public void addRow(List row) { rows.add(row); }