Sha256: 4615081c24b098309074d603764777b0e72b6bd9fb26895947911e073410743b

Contents?: true

Size: 603 Bytes

Versions: 6

Compression:

Stored size: 603 Bytes

Contents

package org.sunflow.system.ui;

import org.sunflow.system.UserInterface;
import org.sunflow.system.UI.Module;
import org.sunflow.system.UI.PrintLevel;

/**
 * Null implementation of a user interface. This is usefull to silence the
 * output.
 */
public class SilentInterface implements UserInterface {

    @Override
    public void print(Module m, PrintLevel level, String s) {
    }

    @Override
    public void taskStart(String s, int min, int max) {
    }

    @Override
    public void taskUpdate(int current) {
    }

    @Override
    public void taskStop() {
    }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
joonsrenderer-1.3.1-java src/main/java/org/sunflow/system/ui/SilentInterface.java
joonsrenderer-1.2.0-java src/main/java/org/sunflow/system/ui/SilentInterface.java
joonsrenderer-1.1.3-java src/main/java/org/sunflow/system/ui/SilentInterface.java
joonsrenderer-1.1.2-java src/main/java/org/sunflow/system/ui/SilentInterface.java
joonsrenderer-1.1.1-java src/main/java/org/sunflow/system/ui/SilentInterface.java
joonsrenderer-1.1-java src/main/java/org/sunflow/system/ui/SilentInterface.java