Returns the next command-line argument. @return the next argument, or null if no more arguments
()
| 1645 | * @return the next argument, or {@code null} if no more arguments |
| 1646 | */ |
| 1647 | protected String nextArg() { |
| 1648 | if ((argPos >= args.length) || (fullstop = SWITCH_FULL_STOP.equals(args[argPos]))) { |
| 1649 | return null; |
| 1650 | } else { |
| 1651 | return args[argPos++]; |
| 1652 | } |
| 1653 | } |
| 1654 | |
| 1655 | /** |
| 1656 | * Returns the next file argument from the command-line. |