Skip navigation links


com.essbase.eas.essbase.defs.LogAnalyzer
Class LogEntry

java.lang.Object
  extended by com.essbase.eas.essbase.defs.LogAnalyzer.LogEntry


public class LogEntry
extends java.lang.Object

Title: Log Analyzer Project for Tomcat Description: Copyright: Copyright (c) 2003 Company: Hyperion Solutions, Inc.

Version:
1.0
Author:
Sree Menon

Field Summary
static short ERROR
           
static short INFO
           
static short WARNING
           

 

Constructor Summary
LogEntry()
           
LogEntry(java.util.Date date)
           
LogEntry(java.util.Date date, java.lang.String app, java.lang.String db, int num)
           

 

Method Summary
 java.lang.String getApplication()
           
 java.lang.String getDatabase()
           
 java.util.Date getDate()
           
 java.lang.String getMessage()
           
 int getMessageNum()
           
 short getType()
           
 java.lang.String getUser()
           
 void readFromFile(java.io.RandomAccessFile file, long offset)
           
 void setApplication(java.lang.String app)
           
 void setDatabase(java.lang.String db)
           
 void setDate(java.util.Date date)
           
 void setMessage(java.lang.String message)
           
 void setMessageNum(int num)
           
 void setType(short type)
           
 void setUser(java.lang.String user)
           
 long writeToFile(java.io.RandomAccessFile file)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

INFO

public static final short INFO
See Also:
Constant Field Values

WARNING

public static final short WARNING
See Also:
Constant Field Values

ERROR

public static final short ERROR
See Also:
Constant Field Values

Constructor Detail

LogEntry

public LogEntry()

LogEntry

public LogEntry(java.util.Date date)

LogEntry

public LogEntry(java.util.Date date,
                java.lang.String app,
                java.lang.String db,
                int num)

Method Detail

getDate

public java.util.Date getDate()

setDate

public void setDate(java.util.Date date)

getUser

public java.lang.String getUser()

setUser

public void setUser(java.lang.String user)

setMessageNum

public void setMessageNum(int num)

getMessageNum

public int getMessageNum()

setApplication

public void setApplication(java.lang.String app)

getApplication

public java.lang.String getApplication()

setDatabase

public void setDatabase(java.lang.String db)

getDatabase

public java.lang.String getDatabase()

setMessage

public void setMessage(java.lang.String message)

getMessage

public java.lang.String getMessage()

setType

public void setType(short type)

getType

public short getType()

writeToFile

public long writeToFile(java.io.RandomAccessFile file)
                 throws java.io.IOException
Throws:
java.io.IOException

readFromFile

public void readFromFile(java.io.RandomAccessFile file,
                         long offset)
                  throws java.io.IOException
Throws:
java.io.IOException

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.