package util;

import java.io.File;
import java.io.IOException;

import org.apache.commons.io.FileUtils;

public class Utils {

    public static void puts(Object ... os){
        for(Object o : os){
            System.out.println(o);
        }
    }

    public static void putskv(Object k, Object v){
        putsf("%s (%s)", k, v);
    }

    public static void putsf(String format, Object ... args){
        puts(fmt(format, args));
    }

    public static String readFile(String path){
        try {
            return FileUtils.readFileToString(new File(path));
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }

    public static String fmt(String format, Object ... args){
        return String.format(format, args);
    }

}

@@ -276,145 +276,471 @@
 puts
-kv(Object k, Object v)%7B%0A        putsf(%22%25s (%25s)%22, k, v);%0A    %7D%0A%0A    public static void putsf(String format, Object ... args)%7B%0A        puts
+_e(Object ... os)%7B%0A        for(Object o : os)%7B%0A            System.err.println(o);%0A        %7D%0A    %7D%0A%0A    public static void putskv(Object k, Object v)%7B%0A        putsf(%22%25s (%25s)%22, k, v);%0A    %7D%0A%0A    public static void putskv_e(Object k, Object v)%7B%0A        putsf_e(%22%25s (%25s)%22, k, v);%0A    %7D%0A%0A    public static void putsf(String format, Object ... args)%7B%0A        puts(fmt(format, args));%0A    %7D%0A%0A    public static void putsf_e(String format, Object ... args)%7B%0A        puts_e
 (fmt

Add puts_e, putskv_e, putsf_e