Package ej.rcommand
Interface ParametersHelper
-
public interface ParametersHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Object>readParameters(CommandReader commandReader)Reads the parameters of a command.voidsendParams(CommandSender commandSender, List<Object> params)Sends the given parameters.
-
-
-
Method Detail
-
readParameters
List<Object> readParameters(CommandReader commandReader) throws IOException
Reads the parameters of a command.Method
CommandReader.skipParameters()must be called after to be ready to read the following command.- Returns:
- list of the parameters.
- Throws:
IOException
-
sendParams
void sendParams(CommandSender commandSender, List<Object> params)
Sends the given parameters.- Parameters:
params- list of parameters to send.
-
-