public class CupPutArgumentTranslator extends CommandlineArgumentTranslator
Modifier and Type | Field and Description |
---|---|
protected static String |
PATH |
CMDKEY
Constructor and Description |
---|
CupPutArgumentTranslator() |
Modifier and Type | Method and Description |
---|---|
protected void |
handlePositional(int pos,
String positional,
CommandContext state,
Hashtable tState)
Handles the positionals that cup uses during the LoginCommand.
|
protected void |
initialize(CommandContext state,
Object invoker,
Hashtable tState)
Sets the path variable to "."
|
protected void |
postParse(CommandContext state,
Object invoker,
Hashtable tState)
Fills the command state.
|
getPotentialArgs, getPotentialFlags, handleFlag, parse, translate
protected static final String PATH
protected void initialize(CommandContext state, Object invoker, Hashtable tState) throws IfsException
initialize
in class CommandlineArgumentTranslator
IfsException
protected void postParse(CommandContext state, Object invoker, Hashtable tState) throws IfsException
postParse
in class CommandlineArgumentTranslator
IfsException
protected void handlePositional(int pos, String positional, CommandContext state, Hashtable tState) throws IfsException
handlePositional
in class CommandlineArgumentTranslator
IfsException
Copyright © 2023. All rights reserved.