for(Element eTr : tr){
Elements td = eTr.select(“td”);
for(Element eTd : td){
tag_rowspan = eTd.attr(“rowspan”);
tag_colspan = eTd.attr(“colspan”);
tag_class = eTd.attr(“class”);
tag_text = eTd.text();
if(!tag_colspan.equals(“”)) {
title += tag_text + “,”;
}
if((tag_class.equals(“class2”))) {
keyLevel1 = tag_text;
}else if((tag_class.equals(“class1”))) {
keyLevel2 = tag_text;
}else if(tag_class.equals(“”)){
value += tag_text+“,”;
}
}
if(!(keyLevel1.equals(“”)&&keyLevel1.equals(“”))) {
if(!value.equals(“”)) {
value = value.substring(0,value.length() - 1);
shiftInformationHashMap.put(keyLevel1 + “,” + keyLevel2, value);
}
value = “”;
}
}
title