use of com.sun.enterprise.admin.cli.ArgumentTokenizer in project Payara by payara.
the class LocalOSGiShellCommand method getArgs.
private String[] getArgs(String line) throws ArgumentTokenizer.ArgumentException {
List<String> args = new ArrayList<String>();
ArgumentTokenizer t = new ArgumentTokenizer(line);
while (t.hasMoreTokens()) {
args.add(t.nextToken());
}
return args.toArray(new String[args.size()]);
}
Aggregations