/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/provider/XmlDepartureProvider.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/provider/XmlDepartureProvider.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 282 by torben, Sun Aug 9 19:49:29 2009 UTC revision 283 by torben, Thu Aug 27 08:34:50 2009 UTC
# Line 30  public class XmlDepartureProvider extend Line 30  public class XmlDepartureProvider extend
30                  departures.clear();                  departures.clear();
31                  try                  try
32                  {       String url = "http://t-hoerup.dk/tog/xml_display.php?stationname="+station;                  {       String url = "http://t-hoerup.dk/tog/xml_display.php?stationname="+station;
33                          String doc =  DownloadUtil.getContent(url, 45000, "ISO-8859-1");                          String doc =  DownloadUtil.getContentString(url, 45000, "ISO-8859-1");
34                                                    
35                          InputSource source = new InputSource( new StringReader(doc));                          InputSource source = new InputSource( new StringReader(doc));
36                                                    

Legend:
Removed from v.282  
changed lines
  Added in v.283

  ViewVC Help
Powered by ViewVC 1.1.20