[Java] Class ReaderCharacterSource
- org.apache.groovy.json.internal.ReaderCharacterSource
- All Implemented Interfaces and Traits:
- CharacterSource
public class ReaderCharacterSource
Constructor Summary
Constructor and description |
---|
ReaderCharacterSource
(Reader reader, int readAheadSize) |
ReaderCharacterSource
(Reader reader) |
ReaderCharacterSource
(String string) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public final boolean |
consumeIfMatch(char[] match) | |
public final int |
currentChar() | |
public String |
errorDetails(String message) | |
public char[] |
findNextChar(int match, int esc) | |
public boolean |
hadEscape() | |
public final boolean |
hasChar() | |
public final int |
location() | |
public final int |
nextChar() | |
public char[] |
readNumber() | |
public final int |
safeNextChar() | |
public void |
skipWhiteSpace() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public ReaderCharacterSource(Reader reader, int readAheadSize)
public ReaderCharacterSource(Reader reader)
public ReaderCharacterSource(String string)
Method Detail
public final boolean consumeIfMatch(char[] match)
public final int currentChar()
public String errorDetails(String message)
public char[] findNextChar(int match, int esc)
public boolean hadEscape()
public final boolean hasChar()
public final int location()
public final int nextChar()
public char[] readNumber()
public final int safeNextChar()
public void skipWhiteSpace()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/json/internal/ReaderCharacterSource.html