protected static final class DefaultUWSBackupManager.JSONArrayReader
extends java.lang.Object
implements java.util.Iterator<org.json.JSONObject>
JSONTokener
(that's to directly from a file)
as an iterator which returns all items which MUST BE JSONObject
s.Constructor and Description |
---|
JSONArrayReader(org.json.JSONTokener input,
UWSLog log) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
org.json.JSONObject |
next() |
protected void |
readNext() |
void |
remove() |
public JSONArrayReader(org.json.JSONTokener input, UWSLog log) throws org.json.JSONException
org.json.JSONException
protected void readNext() throws org.json.JSONException
org.json.JSONException
public boolean hasNext()
hasNext
in interface java.util.Iterator<org.json.JSONObject>
public org.json.JSONObject next() throws java.util.NoSuchElementException
next
in interface java.util.Iterator<org.json.JSONObject>
java.util.NoSuchElementException
public void remove() throws java.lang.UnsupportedOperationException
remove
in interface java.util.Iterator<org.json.JSONObject>
java.lang.UnsupportedOperationException