580 |
trackElems = train.getElementsByClass("expectedTrack"); |
trackElems = train.getElementsByClass("expectedTrack"); |
581 |
} |
} |
582 |
String track = trackElems.get(0).text(); |
String track = trackElems.get(0).text(); |
583 |
String trackType = train.getElementsByClass("trackType").get(0).text(); |
String trackType = train.getElementsByClass("trackType").get(0).text().trim(); |
584 |
|
|
585 |
|
|
586 |
String platform = track + " " + trackType; |
String platform = track; |
587 |
|
if ( !trackType.equals("")) { |
588 |
|
platform += trackType; |
589 |
|
} |
590 |
|
|
591 |
for (DepartureEntry entry : departureBean.entries) { |
for (DepartureEntry entry : departureBean.entries) { |
592 |
String entryTrainId = entry.getTrainNumber().split(" ")[1]; |
String entryTrainId = entry.getTrainNumber().split(" ")[1]; |