Class RFC5424SyslogParser.Reader
java.lang.Object
org.springframework.integration.syslog.RFC5424SyslogParser.Reader
- Enclosing class:
- RFC5424SyslogParser
protected static class RFC5424SyslogParser.Reader extends Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method 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 foundString
rest()
void
skipTo(char searchChar)
void
ungetc()
boolean
was(char c)
-
Constructor Details
-
Method Details
-
getIndex
public int getIndex() -
mark
public void mark() -
getMarkedSegment
-
current
public int current() -
prev
public int prev() -
getc
public int getc() -
peek
public int peek() -
ungetc
public void ungetc() -
getInt
public int getInt() -
readInt
public int readInt()Read characters building an int until a non-digit is found- Returns:
- int
-
readFraction
public double readFraction() -
is
public boolean is(char c) -
was
public boolean was(char c) -
isDigit
public boolean isDigit() -
expect
public void expect(char c) -
skipTo
public void skipTo(char searchChar) -
rest
-
getIdentifier
-