|
Servertec Foundation Classes 1.3.3 09/04/2005 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstec.sfc.Win32.EventLogRecord
public final class EventLogRecord
The event log record retrieved by EventLog.get(int).
Method Summary | |
---|---|
java.lang.String |
getCategory()
Returns the category name. |
int |
getCategoryID()
Returns the category identifier. |
java.lang.String |
getComputerName()
Returns the computer name. |
byte[] |
getData()
Returns any binary data. |
int |
getEventID()
Returns the event identifier. |
int |
getEventType()
Returns the EventLogType. |
java.lang.String[] |
getExpandedParameters()
Returns any parameters resolving any references. |
long |
getGeneratedTimestamp()
Returns the timestamp in the number of seconds elapsed since 00:00:00 January 1, 1970 UCT when the event log record was submitted. |
java.lang.String |
getMessage()
Returns the corresponding formatted message. |
java.lang.String[] |
getParameters()
Returns any parameters. |
int |
getRecordNumber()
Returns the event log record number. |
java.lang.String |
getSourceName()
Returns the event source name. |
java.lang.String |
getUserName()
Returns the username. |
long |
getWrittenTimestamp()
Returns the timestamp in the number of seconds elapsed since 00:00:00 January 1, 1970 UCT when the event log record was written. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final int getRecordNumber()
public final long getGeneratedTimestamp()
public final long getWrittenTimestamp()
public final int getEventID()
public final int getEventType()
public final int getCategoryID()
public final java.lang.String getCategory() throws Win32Exception, java.io.IOException
May result in the Java VM aborting with EXCEPTION_INVALID_ACCESS if the local dll and the remote dll are not the same.
Must be able to access the system registry.
java.io.IOException
- if RegistryKey.LOCAL_MACHINE has been closed.
Win32Exception
- if any error occurs.public final java.lang.String getSourceName()
public final java.lang.String getComputerName()
public final java.lang.String getUserName()
public final java.lang.String[] getParameters()
public final java.lang.String[] getExpandedParameters() throws Win32Exception, java.io.IOException
Win32Exception
java.io.IOException
public final byte[] getData()
public final java.lang.String getMessage() throws Win32Exception, java.io.IOException
May result in the Java VM aborting with EXCEPTION_INVALID_ACCESS if the local dll and the remote dll are not the same.
Must be able to access the system registry.
java.io.IOException
- if RegistryKey.LOCAL_MACHINE has been closed.
Win32Exception
- if any error occurs.
|
Servertec Foundation Classes 1.3.3 09/04/2005 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001-2005 Servertec. All rights reserved.