org.apache.oozie.util
Class XLogReader

java.lang.Object
  extended by org.apache.oozie.util.XLogReader

public class XLogReader
extends Object

Reads the input stream(log file) and applies the filters and writes it to output stream. The filtering will also consider the log messages spilling over multiline.


Constructor Summary
XLogReader(InputStream logFileIS, XLogStreamer.Filter filter, Writer logWriter)
           
 
Method Summary
 void close()
           
 void processLog()
          Processes the Given Log and writes the output after applying the filters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XLogReader

public XLogReader(InputStream logFileIS,
                  XLogStreamer.Filter filter,
                  Writer logWriter)
Method Detail

processLog

public void processLog()
                throws IOException
Processes the Given Log and writes the output after applying the filters.

Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.