result set

This commit is contained in:
jackdaw@loafle.com 2017-04-25 15:42:46 +09:00
parent 1120b927bd
commit 4c7172b954

View File

@ -2,17 +2,23 @@ package com.loafle.overflow.crawler.result;
import com.loafle.overflow.crawler.config.Item; import com.loafle.overflow.crawler.config.Item;
import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
/** /**
* Created by root on 17. 4. 25. * Created by root on 17. 4. 25.
*/ */
public class ResultSet { public class OFResultSet {
Item item; Item item;
List<String []> rows; List<String []> rows;
public OFResultSet(Item item) {
this.item = item;
this.rows = new ArrayList<>();
}
public void addRow(String [] row) { public void addRow(String [] row) {
rows.add(row); rows.add(row);
} }