Package oracle.dbtools.plugin.api.json
Interface JSONReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanhasNext()Indicates if there any moreJSONTokens in the stream.JSONTokennext()Returns the nextJSONTokenin the stream.voidremove()Deprecated.
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws JSONIOExceptionIndicates if there any moreJSONTokens in the stream.- Specified by:
hasNextin interfacejava.util.Iterator<JSONToken>- Returns:
- true if there are more tokens, false if the end of the stream has been reached
- Throws:
JSONIOException- if anIOExceptionis raised by the underlying stream
-
next
JSONToken next() throws JSONIOException
Returns the nextJSONTokenin the stream.- Specified by:
nextin interfacejava.util.Iterator<JSONToken>- Returns:
JSONTokeninstance or null if the end of the stream has been reached.- Throws:
JSONIOException- if anIOExceptionis raised by the underlying stream
-
remove
@Deprecated void remove() throws java.lang.IllegalStateExceptionDeprecated.This operation is not supported onJSONReaderinstances.- Specified by:
removein interfacejava.util.Iterator<JSONToken>- Throws:
java.lang.IllegalStateException- if this method is invoked
-
-