public class HapiClientIterator extends java.lang.Object implements java.util.Iterator<HapiRecord>
| Constructor and Description |
|---|
HapiClientIterator(org.json.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(org.json.JSONObject info,
java.io.BufferedReader reader)
throws java.io.IOException,
org.json.JSONException
info - reader - java.io.IOExceptionorg.json.JSONExceptionpublic boolean hasNext()
hasNext in interface java.util.Iterator<HapiRecord>public HapiRecord next()
next in interface java.util.Iterator<HapiRecord>