@@ -0,0 +1,1179 @@
+package scratchobfuscator;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0A%0A%0A/**%0A * Application entry point.%0A */%0Apublic class Main%0A%7B%0A    private static final String USAGE = %22Usage: java -jar scratchobfuscator.jar %3Cin-path%3E %3Cout-path%3E%22;%0A%0A    /**%0A     * Entry point.%0A     * %0A     * @param args Command-line arguments.%0A     */%0A    public static void main(String%5B%5D args)%0A    %7B%0A        if (args.length != 2) %7B%0A            System.out.println(USAGE);%0A            return;%0A        %7D%0A%0A        File in = new File(args%5B0%5D);%0A        if (!in.isFile()) %7B%0A            System.out.println(%22The given input path does not denote a file.%22);%0A            System.out.println(USAGE);%0A            return;%0A        %7D%0A        in = in.getAbsoluteFile();%0A%0A        File out = new File(args%5B1%5D);%0A        if (out.isDirectory()) %7B%0A            System.out.println(%22The given output path denotes a directory.%22);%0A            System.out.println(USAGE);%0A            return;%0A        %7D%0A        out = out.getAbsoluteFile();%0A%0A        final ScratchObfuscator obf = new ScratchObfuscator();%0A        try %7B%0A            obf.process(in, out);%0A        %7D catch (IOException e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%7D%0A

Add rudimentary command-line entry point (Main)