/** @return the arguments for the Dart VM */ public String[] getVmArgumentsAsArray() { List<String> args = new ArrayList<String>(); args.addAll(Arrays.asList(StringUtilities.parseArgumentString(getVmArguments()))); return args.toArray(new String[args.size()]); }
/** @return the arguments for the Dart application or Browser */ public String[] getArgumentsAsArray() { String command = getArguments(); if (command == null || command.length() == 0) { return new String[0]; } return StringUtilities.parseArgumentString(command); }