public CommandLine add(String... args){
  if (args != null && args.length > 0) {
    Collections.addAll(line,args);
  }
  return this;
}

public CommandLine add ( String ... args ) { if ( args != null && args . length > 0 ) { Collections . addAll ( line , args ) ; } return this ; }
adds list of arguments in command line .
