net.sf.clirr
Class Checker

java.lang.Object
  extended bynet.sf.clirr.Checker
All Implemented Interfaces:
ApiDiffDispatcher

public final class Checker
extends java.lang.Object
implements ApiDiffDispatcher

This is the main class to be used by Clirr frontends, it implements the checking functionality of Clirr. Frontends can create an instance of this class and register themselves as DiffListeners, they are then informed whenever an API change is detected by the reportDiffs method.

Author:
lkuehne

Constructor Summary
Checker()
          Creates a new Checker.
 
Method Summary
 void addDiffListener(DiffListener listener)
           
 void fireDiff(ApiDifference diff)
           
 void reportDiffs(java.io.File[] origJars, java.io.File[] newJars, java.lang.ClassLoader origThirdPartyLoader, java.lang.ClassLoader newThirdPartyLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Checker

public Checker()
Creates a new Checker.

Method Detail

addDiffListener

public void addDiffListener(DiffListener listener)

fireDiff

public void fireDiff(ApiDifference diff)
Specified by:
fireDiff in interface ApiDiffDispatcher

reportDiffs

public void reportDiffs(java.io.File[] origJars,
                        java.io.File[] newJars,
                        java.lang.ClassLoader origThirdPartyLoader,
                        java.lang.ClassLoader newThirdPartyLoader)


Copyright © 2003-2004 Lars Kühne. All Rights Reserved.