public class HapiClientIterator extends java.lang.Object implements java.util.Iterator<HapiRecord>
| Constructor and Description |
|---|
HapiClientIterator(JSONObject info,
java.io.BufferedReader reader)
create an iterator for the CSV stream.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
HapiRecord |
next() |
public HapiClientIterator(JSONObject info,
java.io.BufferedReader reader)
throws java.io.IOException,
JSONException
info - reader - java.io.IOExceptionorg.json.JSONExceptionJSONExceptionpublic boolean hasNext()
hasNext in interface java.util.Iterator<HapiRecord>public HapiRecord next()
next in interface java.util.Iterator<HapiRecord>