diff --git a/src/main/java/com/loafle/overflow/crawler/result/ResultSet.java b/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java similarity index 75% rename from src/main/java/com/loafle/overflow/crawler/result/ResultSet.java rename to src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java index ee706a2..5af5338 100644 --- a/src/main/java/com/loafle/overflow/crawler/result/ResultSet.java +++ b/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java @@ -2,17 +2,23 @@ package com.loafle.overflow.crawler.result; import com.loafle.overflow.crawler.config.Item; +import java.util.ArrayList; import java.util.List; import java.util.Map; /** * Created by root on 17. 4. 25. */ -public class ResultSet { +public class OFResultSet { Item item; List rows; + public OFResultSet(Item item) { + this.item = item; + this.rows = new ArrayList<>(); + } + public void addRow(String [] row) { rows.add(row); }