Package ch.epfl.lbd.io.readers

Examples of ch.epfl.lbd.io.readers.UrlReader


public class ReverseGeocoder {

  private UrlReader reader;
 
  public ReverseGeocoder() throws Exception{
    reader = new UrlReader("http://maps.google.com/maps/geo?q=0,0&output=xml&oe=utf8&sensor=true");
  }
View Full Code Here


  protected final org.apache.log4j.Logger logger = Logger.getLogger(this.getClass());
 
  @Test
  public void testReader() throws Exception {

    UrlReader reader = new UrlReader("http://www.simonecampora.com");
    String[] lines = reader.read();
    for(String line : lines){
      logger.info((String)line);
    }
  }
View Full Code Here

TOP

Related Classes of ch.epfl.lbd.io.readers.UrlReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.