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