|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.client.googleapis.json.AbstractJsonFeedParser<T>
T
- feed typepublic abstract class AbstractJsonFeedParser<T>
Abstract base class for a Google JSON-C feed parser when the feed class is known in advance.
Method Summary | |
---|---|
void |
close()
Closes the underlying parser. |
T |
parseFeed()
Parse the feed and return a new parsed instance of the feed class. |
Object |
parseNextItem()
Parse the next item in the feed and return a new parsed instance of the item class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public T parseFeed() throws IOException
IOException
public Object parseNextItem() throws IOException
null
and automatically close the parser (in which case
there is no need to call close()
.
IOException
public void close() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |