class SCCSget {

    public static InputStream getRevision(String command, File file, String revision) throws IOException {<FILL_FUNCTION_BODY>}

    private SCCSget() {
    }
}

        InputStream ret = null;
        ArrayList<String> argv = new ArrayList<>();
        argv.add(command);
        argv.add("get");
        argv.add("-p");
        if (revision != null) {
            argv.add("-r" + revision);
        }
        argv.add(file.getCanonicalPath());

        Executor executor = new Executor(argv);
        if (executor.exec() == 0) {
            ret = executor.getOutputStream();
        }

        return ret;
    
<no_super_class>