public static void main(String[] args) throws IOException {
        InputStream  in  = System.in;
        OutputStream out = System.out;
        
        ConChMode mode   = ConChMode.UNSET;
        
        byte[] source    = ConCh.Sigma94;
        byte[] codeabet  = ConCh.C94;
        
        for (int index = 0; index < args.length; index++) {
            switch (args[index]) {
                case "-i":
                    in  = new FileInputStream(new File(args[++index]));
                    break;
                case "-o":
                    out = new FileOutputStream(new File(args[++index]));
                    break;
                case "-e":
                    mode = ConChMode.ENCODE;
                    break;
                case "-d":
                    mode = ConChMode.DECODE;
                    break;
                case "--help":
                default:
                    System.out.println("Invalid switch: " + args[index] + "\n"
                                    + "Usage: java -jar ConCh.jar "
                                    + "(-e | -d) "
                                    + "[ -o outputFile ] "
                                    + "[ -i inputFile ] "
                                    + "[--help]");
                    return;
            }
        }
        
        switch (mode) {
            case ENCODE:
                Main.copyTo(new ConChEncodeStream(source, codeabet, in), out);
                break;
            case DECODE:
                Main.copyTo(new ConChDecodeStream(source, codeabet, in), out);
                break;
            case UNSET:
            default:
                System.out.println("You must use -e or -d\n"
                                    + "Usage: java -jar ConCh.jar "
                                    + "(-e | -d) "
                                    + "[ -o outputFile ] "
                                    + "[ -i inputFile ] "
                                    + "[--help]");
                return;
        }
        out.write('\n');
        out.flush();
    }