org.jwall.log.io
Class ErrorLogParser

java.lang.Object
  extended by org.jwall.log.io.GenericLogParser
      extended by org.jwall.log.io.ErrorLogParser
All Implemented Interfaces:
Serializable, Parser<LogMessage>

public class ErrorLogParser
extends GenericLogParser

A simple reader for Apache error log messages.

Author:
Christian Bockermann <chris@jwall.org>
See Also:
Serialized Form

Field Summary
static String DATE_FORMAT
           
static String DATE_PATTERN
           
 
Fields inherited from class org.jwall.log.io.GenericLogParser
DATE_FORMAT1, DATE_FORMAT2, DATE_PATTERN1, DATE_PATTERN2, TIME_PATTERN
 
Constructor Summary
ErrorLogParser()
           
 
Method Summary
static void main(String[] args)
           
 LogMessage parse(String line)
           
 
Methods inherited from class org.jwall.log.io.GenericLogParser
getDefault, getDefaults, setDateFormat, setDatePattern, setDefault, setDefaults
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMAT

public static final String DATE_FORMAT
See Also:
Constant Field Values

DATE_PATTERN

public static final String DATE_PATTERN
See Also:
Constant Field Values
Constructor Detail

ErrorLogParser

public ErrorLogParser()
Method Detail

parse

public LogMessage parse(String line)
                 throws ParseException
Specified by:
parse in interface Parser<LogMessage>
Overrides:
parse in class GenericLogParser
Throws:
ParseException
See Also:
LogReader.readNext()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2012 jwall.org. All Rights Reserved.