public class Message extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
messageTokensSeparator |
protected StringTokenizer |
tokenizer |
| Constructor and Description |
|---|
Message(String token,
AccessLogParser.EntryType type)
Message constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected static String[] |
getDetails(String token) |
String |
getMessage()
get the message
|
protected static String |
getValue(String token) |
void |
parse(LogEntry entry)
parse the message line of log
|
void |
setMessage(String message)
set teh message
|
String |
toString()
get the message
|
protected static final String messageTokensSeparator
protected StringTokenizer tokenizer
public Message(String token, AccessLogParser.EntryType type)
token - tokentype - typepublic void parse(LogEntry entry) throws ParseException
ParseException - ParseExceptionpublic String getMessage()
public void setMessage(String message)
message - the messageCopyright © 2015. All Rights Reserved.