Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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());
- String[] stringArray = (String[])options.toArray(new String[options.size()]);
- oldMain(stringArray);
- }
- }
- 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);
- }
Add Comment
Please, Sign In to add comment