Lines Matching refs:parameters
23 * Represents a command received from an FTP client, containing a command name and parameters.
33 private String[] parameters;
36 * Construct a new immutable instance with the specified command name and parameters
38 * @param parameters - the command parameters; may be empty; may not benull
40 public Command(String name, String[] parameters) {
42 Assert.notNull(parameters, "parameters");
44 this.parameters = copy(parameters);
55 * @return the parameters
58 return copy(parameters);
69 return parameters[index];
78 return (parameters.length > index) ? parameters[index] : null;
98 String str = name + Arrays.asList(parameters);
107 return "Command[" + name + ": " + Arrays.asList(parameters) + "]";
135 Assert.isTrue(index >= 0 && index < parameters.length, "The parameter index " + index + " is not valid for " + this);