|
Project 3 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcscie259.project3.wahoo.NewsProvider
This class gets news headlines by connecting to Moreover. You MAY modify this file.
Constructor Summary | |
private |
NewsProvider()
Default constructor is private so that this utility class cannot be instantiated. |
Method Summary | |
static java.lang.String |
getHeadlines(java.lang.String category)
Returns an XML representation of the headlines for a given category. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private NewsProvider()
Method Detail |
public static java.lang.String getHeadlines(java.lang.String category) throws java.io.IOException
category
- category for which to fetch headlines
java.io.IOException
- if an IO-related error occurs
|
Project 3 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |