Package org.apache.kafka.connect.data
Class Values.Parser
- java.lang.Object
-
- org.apache.kafka.connect.data.Values.Parser
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canConsume(String expected)
boolean
canConsume(String expected, boolean ignoreLeadingAndTrailingWhitespace)
protected boolean
canConsumeNextToken()
boolean
hasNext()
protected boolean
isNext(String expected, boolean ignoreLeadingAndTrailingWhitespace)
int
mark()
String
next()
String
next(int n)
String
original()
int
position()
String
previous()
void
rewindTo(int position)
-
-
-
Constructor Detail
-
Parser
public Parser(String original)
-
-
Method Detail
-
position
public int position()
-
mark
public int mark()
-
rewindTo
public void rewindTo(int position)
-
original
public String original()
-
hasNext
public boolean hasNext()
-
canConsumeNextToken
protected boolean canConsumeNextToken()
-
next
public String next()
-
next
public String next(int n)
-
previous
public String previous()
-
canConsume
public boolean canConsume(String expected)
-
canConsume
public boolean canConsume(String expected, boolean ignoreLeadingAndTrailingWhitespace)
-
isNext
protected boolean isNext(String expected, boolean ignoreLeadingAndTrailingWhitespace)
-
-