public class LogContents extends FileContents
Modifier and Type | Class and Description |
---|---|
static class |
LogContents.MessageParser |
protected class |
LogContents.Model
The table model class.
|
static class |
LogContents.RecordParser |
protected class |
LogContents.ThreadIdRenderer |
FileContents.DateRenderer, FileContents.ErrNoRenderer, FileContents.RecReader, FileContents.TypeRenderer
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
currentHost |
protected long |
currentLineNo |
protected long |
currentPId |
protected long |
currentSession |
protected java.lang.Long |
currentThread |
protected int |
logFiletype |
protected javax.swing.JTable |
table |
BLOCKGAB, BLOCKSIZE, ERROR_ICON, INFO_ICON, PARSERFORMAT, UNKNOWN_ICON, WARN_ICON
Constructor and Description |
---|
LogContents(java.io.File file,
java.util.List recs) |
LogContents(java.io.File file,
java.util.List recs,
int logFileType) |
Modifier and Type | Method and Description |
---|---|
void |
configTable(javax.swing.JTable table)
Configure the table view
|
java.lang.String |
getCurrentHost() |
long |
getCurrentLineNo() |
long |
getCurrentPId() |
long |
getCurrentSession() |
java.lang.String |
getErrOrLogType()
Get a type specification.
|
java.lang.String |
getStringPresentation(int rec)
Get a string presentation of the record specified by the index.
|
static void |
main(java.lang.String[] args) |
countAtPos, finalize, getCount, getRecord, release, search, searchAtPos
protected javax.swing.JTable table
protected java.lang.Long currentThread
protected long currentSession
protected long currentLineNo
protected long currentPId
protected java.lang.String currentHost
protected int logFiletype
public LogContents(java.io.File file, java.util.List recs) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public LogContents(java.io.File file, java.util.List recs, int logFileType) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public java.lang.String getErrOrLogType()
public long getCurrentSession()
public long getCurrentLineNo()
public long getCurrentPId()
public java.lang.String getCurrentHost()
public void configTable(javax.swing.JTable table)
the
- table to be configured.public java.lang.String getStringPresentation(int rec)
index
- the record index.public static void main(java.lang.String[] args)