org.apache.log4j.util
Class Compare

java.lang.Object
  extended by org.apache.log4j.util.Compare

public class Compare
extends java.lang.Object


Constructor Summary
Compare()
           
 
Method Summary
static boolean compare(java.lang.Class testClass, java.lang.String file1, java.lang.String file2)
           
static boolean compare(java.lang.Class testClass, java.lang.String file1, java.lang.String file2, java.io.BufferedReader in1, java.io.BufferedReader in2)
           
static boolean gzCompare(java.lang.Class testClass, java.lang.String actual, java.lang.String expected)
           
static boolean gzCompare(java.lang.Class testClass, java.lang.String file1, java.lang.String file2, java.io.BufferedReader in1, java.io.BufferedReader in2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compare

public Compare()
Method Detail

compare

public static boolean compare(java.lang.Class testClass,
                              java.lang.String file1,
                              java.lang.String file2)
                       throws java.io.IOException
Throws:
java.io.IOException

compare

public static boolean compare(java.lang.Class testClass,
                              java.lang.String file1,
                              java.lang.String file2,
                              java.io.BufferedReader in1,
                              java.io.BufferedReader in2)
                       throws java.io.IOException
Throws:
java.io.IOException

gzCompare

public static boolean gzCompare(java.lang.Class testClass,
                                java.lang.String actual,
                                java.lang.String expected)
                         throws java.io.FileNotFoundException,
                                java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

gzCompare

public static boolean gzCompare(java.lang.Class testClass,
                                java.lang.String file1,
                                java.lang.String file2,
                                java.io.BufferedReader in1,
                                java.io.BufferedReader in2)
                         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0

Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.