com.cleancode.log
Class LogWriter.Test

java.lang.Object
  extended by com.cleancode.log.LogWriter.Test
Enclosing class:
LogWriter

public static class LogWriter.Test
extends Object

A standalone test class to exercise the LogWriter class. Creates a couple log files and writes to them; the expected results are displayed.


Constructor Summary
LogWriter.Test()
           
 
Method Summary
static void main(String[] args)
          Main program for this standalone test class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogWriter.Test

public LogWriter.Test()
Method Detail

main

public static void main(String[] args)
                 throws IOException
Main program for this standalone test class.
UsageInputOptions Source
java LogWriter$Testdefault values
java LogWriter$Test 1shows all diags on STDERR
java LogWriter$Test configFile uses config file
java LogWriter$Test { name=val } uses cmdline arguments
java LogWriter$Test configFile { name=val } uses config file plus cmdline args

Parameters:
args - config file name and/or InputOptions properties
Throws:
IOException - if any problems reading the file.


CleanCode Java Libraries Copyright © 2001-2012 Michael Sorens - Revised 2012.12.10 Get CleanCode at SourceForge.net. Fast, secure and Free Open Source software downloads