| java.lang.Object net.sourceforge.groboutils.codecoverage.v2.util.ConvertSingleLog
ConvertSingleLog | public class ConvertSingleLog (Code) | | A way to convert the single log style (not necessarily a file), and outputs
it to a channel logger. This converter handles multiple channels.
As of 2004-Jun-03, the format has changed.
author: Matt Albrecht groboclown@users.sourceforge.net version: $Date: 2004/07/07 09:39:11 $ since: April 16, 2004 |
ConvertSingleLog | public ConvertSingleLog(IChannelLogger ch)(Code) | | Create a new converter, using the given initialized loggers as the
output channels. The order matters: each logger index refers to
that specific channel index; so ch[1] refers to channel 1.
Parameters: ch - the channels to output the single log to. exception: IllegalArgumentException - if ch or any entry insidech is null, or if the length of ch is 0. |
processLine | public void processLine(String line, boolean ignoreFormatErrors) throws IOException(Code) | | Process a single line from the single file. Invalid formatted lines
will cause an I/O exception. Blank lines are ignored. Whitespace
is also ignored.
Parameters: line - the input line exception: IOException - if there's a problem with the format of the line,or if line is null. |
read | public void read(Reader r, boolean ignoreFormatErrors) throws IOException(Code) | | Loads all data from the given reader and parses it out to the
channels. The reader is closed on return.
exception: IOException - if there is an I/O error reading from r. exception: IllegalArgumentException - if the reader is null. |
|
|