|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.messaging.accounting.portal.logparser.entry.LogEntry
public abstract class LogEntry
Nested Class Summary | |
---|---|
protected static class |
LogEntry.TokensType
|
Field Summary | |
---|---|
protected Date |
date
|
protected static String |
DATE_FORMAT
|
protected AccessLogParser.EntryType |
entryType
|
protected static SimpleDateFormat |
format
|
protected String |
line
|
protected Message |
message
|
protected static String |
parameterSeparator
|
protected static String |
parameterValueSeparator
|
protected org.gcube.messaging.common.messages.records.BaseRecord |
record
|
protected String |
user
|
protected String |
vre
|
Constructor Summary | |
---|---|
LogEntry()
|
Method Summary | |
---|---|
abstract org.gcube.messaging.common.messages.records.BaseRecord |
fillRecord()
|
Date |
getDate()
get the date |
AccessLogParser.EntryType |
getEntryType()
|
Message |
getMessage()
get the message part of the log |
org.gcube.messaging.common.messages.records.BaseRecord |
getRecord()
get the Associated Record |
String |
getUser()
get the user part |
String |
getVre()
get the VRE |
void |
parse()
parse the line of log |
void |
setDate(Date date)
set the date |
void |
setEntryType(AccessLogParser.EntryType entryType)
|
void |
setMessage(Message message)
set the message part of the log |
void |
setRecordName(org.gcube.messaging.common.messages.records.BaseRecord record)
Set the Associtated record |
void |
setUser(String user)
set the user |
void |
setVre(String vre)
set the VRE |
String |
toString()
string representation of the log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Date date
protected String vre
protected org.gcube.messaging.common.messages.records.BaseRecord record
protected AccessLogParser.EntryType entryType
protected Message message
protected String user
protected String line
protected static final String parameterValueSeparator
protected static final String parameterSeparator
protected static final String DATE_FORMAT
protected static SimpleDateFormat format
Constructor Detail |
---|
public LogEntry()
Method Detail |
---|
public void parse() throws ParseException
ParseException
- ParseExceptionpublic Date getDate()
public void setDate(Date date)
date
- the datepublic org.gcube.messaging.common.messages.records.BaseRecord getRecord()
public void setRecordName(org.gcube.messaging.common.messages.records.BaseRecord record)
record
- public Message getMessage()
public void setMessage(Message message)
message
- the messagepublic String getUser()
public void setUser(String user)
user
- the userpublic String getVre()
public void setVre(String vre)
vre
- the VREpublic String toString()
toString
in class Object
public AccessLogParser.EntryType getEntryType()
public void setEntryType(AccessLogParser.EntryType entryType)
public abstract org.gcube.messaging.common.messages.records.BaseRecord fillRecord()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |