code: public static RemoteCommand parse(String inputLine) {
      if (null == inputLine) throw new NullPointerException("inputLine can't be null");
      String[] values = inputLine.split("\\|");
      if (values.length != NUMARGSINCLUDINGBOUNDARIES) {
        throw new IllegalStateException("Cannot parse invalid line: " + inputLine + values.length);
      }
      return new DefaultRemoteCommand(values[FIRSTINDEX], new String[] {values[SECONDINDEX],
          values[THIRDINDEX]});
    }
docs: Factory method to create a RemoteCommand from a wiki-style input string
  @param inputLine wiki-style input string
  @return RemoteCommand