private final String[] tokenize(String cmdLine){
  cmdLine=cmdLine.trim();
  return cmdLine.split("\\s+");
}

private final String [ ] tokenize ( String cmdLine ) { cmdLine = cmdLine . trim ( ) ; return cmdLine . split ( "\\s+" ) ; }
convert a string to tokens by splitting at whitespace characters .
