protected static class RFC5424SyslogParser.Reader extends Object
Modifier and Type | Method and Description |
---|---|
int |
current() |
void |
expect(char c) |
int |
getc() |
String |
getIdentifier() |
int |
getIndex() |
int |
getInt() |
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
|
String |
rest() |
void |
skipTo(char searchChar) |
void |
ungetc() |
boolean |
was(char c) |
public Reader(String l)
public int getIndex()
public void mark()
public 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 String rest()
public String getIdentifier()