|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.walmart.openapi.DataFeedManager.FeedIterator
public static class DataFeedManager.FeedIterator
Reads a JsonParser to extract a list of items and then closes the socket.
| Constructor Summary | |
|---|---|
DataFeedManager.FeedIterator(com.fasterxml.jackson.core.JsonParser jsonParser)
|
|
| Method Summary | |
|---|---|
void |
close()
Close the stream. |
void |
finalize()
If user forgets to clean up the resources, close the socket. |
boolean |
hasNext()
Retruns true if there is another item in the feed to be consumed else returns false. |
Item |
next()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataFeedManager.FeedIterator(com.fasterxml.jackson.core.JsonParser jsonParser)
throws java.io.IOException,
FeedParseException
java.io.IOException
FeedParseException| Method Detail |
|---|
public boolean hasNext()
public Item next()
throws java.io.IOException
java.io.IOException
public void close()
throws java.io.IOException
java.io.IOException
public void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.io.IOException
java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||