Package oracle.dbtools.plugin.api.json
Interface JSONReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
hasNext()
Indicates if there any moreJSONToken
s in the stream.JSONToken
next()
Returns the nextJSONToken
in the stream.void
remove()
Deprecated.
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws JSONIOException
Indicates if there any moreJSONToken
s in the stream.- Specified by:
hasNext
in interfacejava.util.Iterator<JSONToken>
- Returns:
- true if there are more tokens, false if the end of the stream has been reached
- Throws:
JSONIOException
- if anIOException
is raised by the underlying stream
-
next
JSONToken next() throws JSONIOException
Returns the nextJSONToken
in the stream.- Specified by:
next
in interfacejava.util.Iterator<JSONToken>
- Returns:
JSONToken
instance or null if the end of the stream has been reached.- Throws:
JSONIOException
- if anIOException
is raised by the underlying stream
-
remove
@Deprecated void remove() throws java.lang.IllegalStateException
Deprecated.This operation is not supported onJSONReader
instances.- Specified by:
remove
in interfacejava.util.Iterator<JSONToken>
- Throws:
java.lang.IllegalStateException
- if this method is invoked
-
-