|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.appserv.management.ext.logging.LogQueryResultImpl
public final class LogQueryResultImpl
INTERNAL USE ONLY--not part of the API
| Constructor Summary | |
|---|---|
LogQueryResultImpl(List<Serializable[]> records)
Instantiate using result from LogQuery.queryServerLog(java.lang.String, long, boolean, int, java.lang.Long, java.lang.Long, java.lang.String, java.util.Set. |
|
LogQueryResultImpl(String[] fieldNames,
LogQueryEntry[] entries)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object rhs)
|
LogQueryEntry[] |
getEntries()
Return all log entries found by the query not including the field headers. |
String[] |
getFieldNames()
Get field names for each field of a LogQueryEntry. |
int |
hashCode()
|
String |
toString()
Output a tab-delimited String with a header line. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LogQueryResultImpl(String[] fieldNames,
LogQueryEntry[] entries)
public LogQueryResultImpl(List<Serializable[]> records)
LogQuery.queryServerLog(java.lang.String, long, boolean, int, java.lang.Long, java.lang.Long, java.lang.String, java.util.Set, java.util.List) .
The first Object[] is a String[] of the field names.
Subsequent Object[] are the data values.
| Method Detail |
|---|
public String[] getFieldNames()
LogQueryResultLogQueryEntry.
Log entries in the server log file are of the form:[#|DATE|LEVEL|PRODUCT_NAME|MODULE|NAME_VALUE_PAIRS|MESSAGE|#]
getFieldNames in interface LogQueryResultpublic LogQueryEntry[] getEntries()
LogQueryResult
getEntries in interface LogQueryResultpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object rhs)
equals in class Object
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.