Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static void rmView(String viewTag) {
        try {
            Process pr = Runtime.getRuntime().exec("cleartool rmview -tag ".concat(viewTag));
            pr.waitFor();
            pr.destroy();
        } catch (Exception e) {
            throw new RuntimeException("cleartool rmview error!", e);
        }
    }
}