java/ch/wlkl/javaExamples/Util.java

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ch.wlkl.javaExamples;

/**
 *
 * @author walter
 */
public class Util {
    static String indent = "";
    public static void say(Object o) {
        System.out.println(indent + o);
    }
    public static void indentPlus() {
        indent += "  ";
    }
    public static void indentMinus() {
        indent = indent.substring(0, indent.length()-2);
    }
}