java.lang.Objectorg.apache.log4j.lf5.util.LogFileParser
Provides utility methods for input and output streams.
| Field Summary | |
| static String | ATTRIBUTE_DELIMITER | 
| static String | CATEGORY_DELIMITER | 
| static String | DATE_DELIMITER | 
| static String | LOCATION_DELIMITER | 
| static String | MESSAGE_DELIMITER | 
| static String | NDC_DELIMITER | 
| static String | PRIORITY_DELIMITER | 
| static String | RECORD_DELIMITER | 
| static String | THREAD_DELIMITER | 
| Constructor Summary | |
| LogFileParser(File file) | |
| LogFileParser(InputStream stream) | |
| Method Summary | |
| protected  void | displayError(String message) | 
|  void | parse(LogBrokerMonitor monitor)Starts a new thread to parse the log file and create a LogRecord. | 
|  void | run()Parses the file and creates new log records and adds the record to the monitor. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final String RECORD_DELIMITER
public static final String ATTRIBUTE_DELIMITER
public static final String DATE_DELIMITER
public static final String THREAD_DELIMITER
public static final String CATEGORY_DELIMITER
public static final String LOCATION_DELIMITER
public static final String MESSAGE_DELIMITER
public static final String PRIORITY_DELIMITER
public static final String NDC_DELIMITER
| Constructor Detail | 
public LogFileParser(File file)
              throws IOException,
                     FileNotFoundException
public LogFileParser(InputStream stream)
              throws IOException
| Method Detail | 
public void parse(LogBrokerMonitor monitor)
           throws RuntimeException
RuntimeExceptionpublic void run()
run in interface Runnableprotected void displayError(String message)
Copyright © 2000 Micro Focus International Limited.  All rights reserved.  
This document and the proprietary marks and names used herein are protected by international law.