org.openrdf.elmo.smusher.listener
Class LogListener

java.lang.Object
  extended by org.openrdf.elmo.smusher.listener.LogListener
All Implemented Interfaces:
SmusherListener
Direct Known Subclasses:
PersonLogListener

public class LogListener
extends Object
implements SmusherListener

A listener that logs the progress of the smusher using the Writer provided.

Author:
Peter Mika (pmika@cs.vu.nl)

Field Summary
protected  Writer _out
           
 
Constructor Summary
LogListener(Writer out)
           
 
Method Summary
 void commit()
           
 void finish()
           
 void matchFound(Resource first, Resource second)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_out

protected Writer _out
Constructor Detail

LogListener

public LogListener(Writer out)
Method Detail

start

public void start()
Specified by:
start in interface SmusherListener

matchFound

public void matchFound(Resource first,
                       Resource second)
Specified by:
matchFound in interface SmusherListener

commit

public void commit()
Specified by:
commit in interface SmusherListener

finish

public void finish()
Specified by:
finish in interface SmusherListener


Copyright © 2004-2008 Aduna. All Rights Reserved.