org.apache.oozie.util
Class XLogReader
java.lang.Object
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.
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 |
XLogReader
public XLogReader(InputStream logFileIS,
XLogStreamer.Filter filter,
Writer logWriter)
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 © 2013 Apache Software Foundation. All Rights Reserved.