protected static class RFC5424SyslogParser.Reader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
idx |
Constructor and Description |
---|
Reader(java.lang.String l) |
Modifier and Type | Method and Description |
---|---|
int |
current() |
void |
expect(char c) |
int |
getc() |
java.lang.String |
getIdentifier() |
int |
getInt() |
java.lang.String |
getMarkedSegment() |
boolean |
is(char c) |
boolean |
isDigit() |
void |
mark() |
int |
peek() |
int |
prev() |
double |
readFraction() |
int |
readInt()
Read characters building an int until a non-digit is found
|
java.lang.String |
rest() |
void |
skipTo(char searchChar) |
void |
ungetc() |
boolean |
was(char c) |
public void mark()
public java.lang.String getMarkedSegment()
public int current()
public int prev()
public int getc()
public int peek()
public void ungetc()
public int getInt()
public int readInt()
public double readFraction()
public boolean is(char c)
public boolean was(char c)
public boolean isDigit()
public void expect(char c)
public void skipTo(char searchChar)
public java.lang.String rest()
public java.lang.String getIdentifier()