nl.knowledgeplaza.util
Class ProgressListener.ConsoleProgressListener

java.lang.Object
  extended by nl.knowledgeplaza.util.ProgressListener
      extended by nl.knowledgeplaza.util.ProgressListener.ConsoleProgressListener
Enclosing class:
ProgressListener

public static class ProgressListener.ConsoleProgressListener
extends ProgressListener

a default ProgressListener that simply writes to the console


Nested Class Summary
 
Nested classes/interfaces inherited from class nl.knowledgeplaza.util.ProgressListener
ProgressListener.ConsoleProgressListener
 
Field Summary
 
Fields inherited from class nl.knowledgeplaza.util.ProgressListener
progressListenerConsole
 
Constructor Summary
ProgressListener.ConsoleProgressListener(String prefix)
           
 
Method Summary
 boolean cancel()
           
 void done()
           
 void init(long min, long max)
           
 void progress(long current, String info)
           
 
Methods inherited from class nl.knowledgeplaza.util.ProgressListener
begin, progress, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressListener.ConsoleProgressListener

public ProgressListener.ConsoleProgressListener(String prefix)
Method Detail

init

public void init(long min,
                 long max)
Overrides:
init in class ProgressListener

progress

public void progress(long current,
                     String info)
Specified by:
progress in class ProgressListener

done

public void done()
Overrides:
done in class ProgressListener

cancel

public boolean cancel()
Overrides:
cancel in class ProgressListener


Copyright © 2012 KnowledgePlaza. All Rights Reserved.