com.funambol.util
Class LogViewer

java.lang.Object
  extended by com.funambol.util.LogViewer

public class LogViewer
extends java.lang.Object

A class useful to see the content of Log RecordStore generated by RMSAppender


Field Summary
static int JSR75LOG
          Pass this value to getLogEntries(int mode) method for File Log Mode
static int RMSLOG
          Pass this value to getLogEntries(int mode) method for RMS Log Mode
 
Constructor Summary
LogViewer()
          Creates a new instance of LogViewer
 
Method Summary
 java.lang.String[] getLogEntries(int mode)
          This method return a String array that contain the log file content in form of String objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RMSLOG

public static final int RMSLOG
Pass this value to getLogEntries(int mode) method for RMS Log Mode

See Also:
Constant Field Values

JSR75LOG

public static final int JSR75LOG
Pass this value to getLogEntries(int mode) method for File Log Mode

See Also:
Constant Field Values
Constructor Detail

LogViewer

public LogViewer()
Creates a new instance of LogViewer

Method Detail

getLogEntries

public java.lang.String[] getLogEntries(int mode)
This method return a String array that contain the log file content in form of String objects. For now it just can access RMS Log file, but empty method for accessing JSR75 Log file is provided.

Returns:
a String array that contain the specified log


Copyright © 2001-2009 Funambol.