ch.qos.logback.core.util
Class Compare

java.lang.Object
  extended by ch.qos.logback.core.util.Compare

public class Compare
extends Object


Constructor Summary
Compare()
           
 
Method Summary
static boolean bufferCompare(BufferedReader in1, BufferedReader in2, String file1, String file2)
           
static boolean compare(String file1, String file2)
           
static boolean gzCompare(String file1, String file2)
           
static boolean gzFileCompare(String file1, String file2)
           
static boolean regularFileCompare(String file1, String file2)
           
 
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(String file1,
                              String file2)
                       throws FileNotFoundException,
                              IOException
Throws:
FileNotFoundException
IOException

gzFileCompare

public static boolean gzFileCompare(String file1,
                                    String file2)
                             throws IOException
Throws:
IOException

regularFileCompare

public static boolean regularFileCompare(String file1,
                                         String file2)
                                  throws FileNotFoundException,
                                         IOException
Throws:
FileNotFoundException
IOException

bufferCompare

public static boolean bufferCompare(BufferedReader in1,
                                    BufferedReader in2,
                                    String file1,
                                    String file2)
                             throws FileNotFoundException,
                                    IOException
Throws:
FileNotFoundException
IOException

gzCompare

public static boolean gzCompare(String file1,
                                String file2)
                         throws FileNotFoundException,
                                IOException
Throws:
FileNotFoundException
IOException


Copyright © 2005-2009 QOS.ch. All Rights Reserved.