public class SyslogParser extends Object
Modifier | Constructor and Description |
---|---|
protected |
SyslogParser(SyslogdConfig config,
ByteBuffer text) |
Modifier and Type | Method and Description |
---|---|
boolean |
find() |
protected static String |
fromByteBuffer(ByteBuffer buffer) |
protected SyslogdConfig |
getConfig() |
protected Matcher |
getMatcher() |
static SyslogParser |
getParserInstance(SyslogdConfig config,
ByteBuffer text) |
protected Pattern |
getPattern() |
protected ByteBuffer |
getText() |
protected Boolean |
matched() |
boolean |
matches() |
protected SyslogMessage |
parse() |
protected Date |
parseDate(String dateString) |
protected boolean |
traceEnabled() |
protected SyslogParser(SyslogdConfig config, ByteBuffer text)
public static SyslogParser getParserInstance(SyslogdConfig config, ByteBuffer text) throws MessageDiscardedException
MessageDiscardedException
protected static String fromByteBuffer(ByteBuffer buffer)
public boolean find()
public boolean matches()
protected Boolean matched()
protected SyslogdConfig getConfig()
protected ByteBuffer getText()
protected boolean traceEnabled()
protected Pattern getPattern()
protected SyslogMessage parse() throws SyslogParserException
SyslogParserException
protected Matcher getMatcher()
Copyright © 2021. All rights reserved.