parse output

if ((line = br.readLine()).contains("PID")){
TestResultDTO t = new TestResultDTO();
t.pid = line.substring(beginIndex);
t.list = new ArrayList<String>();
while ((line = br.readLine()) != "-------") {
t.list.add(line)}
}

posted on 2017-01-04 13:14  白衣胜雪  阅读(133)  评论(0编辑  收藏  举报