org.sunflow.system.ui

Class SilentInterface

Implemented Interfaces:
UserInterface

public class SilentInterface
extends java.lang.Object
implements UserInterface

Null implementation of a user interface. This is usefull to silence the output.

Method Summary

void
print(UI.Module m, UI.PrintLevel level, String s)
void
taskStart(String s, int min, int max)
void
taskStop()
void
taskUpdate(int current)

Method Details

print

public void print(UI.Module m,
                  UI.PrintLevel level,
                  String s)
Specified by:
print in interface UserInterface

taskStart

public void taskStart(String s,
                      int min,
                      int max)
Specified by:
taskStart in interface UserInterface

taskStop

public void taskStop()
Specified by:
taskStop in interface UserInterface

taskUpdate

public void taskUpdate(int current)
Specified by:
taskUpdate in interface UserInterface