280north (owner)

Revisions

gist: 226835 Download_button fork
public
Public Clone URL: git://gist.github.com/226835.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
public static void main(String[] args) {
 
Scanner scanner = new Scanner(new BufferedInputStream(System.in), "UTF-8");
String string = "";
 
        while (true)
        {
            Scanner lineScanner = new Scanner(scanner.nextLine());
            ArrayList options = new ArrayList();
            
            while (lineScanner.hasNext())
                options.add(lineScanner.next());
 
            oldMain((String[])options.toArray());
        }
    }
    
    public static void oldMain(String[] args) {
errorReporter = new ToolErrorReporter(false, global.getErr());
shellContextFactory.setErrorReporter(errorReporter);
IProxy iproxy = new IProxy(IProxy.PROCESS_FILES, processOptions(args));
global.init(shellContextFactory);
shellContextFactory.call(iproxy);
}