|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.ri.createlab.rss.RSSReader
edu.cmu.ri.createlab.rss.readers.EarthquakeReader
public class EarthquakeReader
EarthquakeReader
accesses USGS recent earthquake data.
Constructor Summary | |
---|---|
EarthquakeReader()
Construct EarthquakeReader |
Method Summary | |
---|---|
String |
getLocation()
return location of quake at index |
double |
getMagnitude()
|
int |
getQuakeCount()
|
void |
setIndex(int in)
|
void |
updateQuakeFeed()
Updates all Earthquake data from website |
Methods inherited from class edu.cmu.ri.createlab.rss.RSSReader |
---|
getEntries, getEntriesPublishedAfterTimestamp, getEntryAuthor, getEntryCount, getEntryDate, getEntryDescription, getEntryLink, getEntryTitle, getFeedAuthor, getFeedDate, getFeedDescription, getFeedLink, getFeedTitle, updateFeed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EarthquakeReader()
Method Detail |
---|
public void updateQuakeFeed()
public double getMagnitude()
public int getQuakeCount()
public String getLocation()
public void setIndex(int in)
in
- int new index value
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |