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 JSONObjects.| 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.JSONExceptionprotected void readNext()
throws org.json.JSONException
org.json.JSONExceptionpublic 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.NoSuchElementExceptionpublic void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iterator<org.json.JSONObject>java.lang.UnsupportedOperationException