de.fhpotsdam.unfolding.data
Class GeoRSSReader

java.lang.Object
  extended by de.fhpotsdam.unfolding.data.GeoDataReader
      extended by de.fhpotsdam.unfolding.data.GeoRSSReader

public class GeoRSSReader
extends GeoDataReader

Reads GeoRSS files and creates Features. Basic data reader to parse GeoRSS points, in W3C geo


Constructor Summary
GeoRSSReader()
           
 
Method Summary
static java.util.List<Feature> loadData(processing.core.PApplet p, java.lang.String fileName)
          Loads features from RSS feed in W3C Geo format (geo:lat and geo:long)
static java.util.List<Feature> loadDataGeoRSS(processing.core.PApplet p, java.lang.String fileName)
          Loads features from RSS feed in GeoRSS format (georss:point).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoRSSReader

public GeoRSSReader()
Method Detail

loadData

public static java.util.List<Feature> loadData(processing.core.PApplet p,
                                               java.lang.String fileName)
Loads features from RSS feed in W3C Geo format (geo:lat and geo:long)

Parameters:
p - The PApplet.
fileName - The name of the GeoRSS file (can be local or remote, i.e. a URI)
Returns:
A list of geo features.

loadDataGeoRSS

public static java.util.List<Feature> loadDataGeoRSS(processing.core.PApplet p,
                                                     java.lang.String fileName)
Loads features from RSS feed in GeoRSS format (georss:point).

Parameters:
p - The PApplet.
fileName - The name of the GeoRSS file (can be local or remote, i.e. a URI)
Returns:
A list of geo features.