public class CupCatArgumentTranslator extends CupArgumentTranslator
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
FLAG_RENDERALL
String representing the renderall flag. 
 | 
FLAG_CLASS, FLAG_ID, FLAG_PATH, FLAG_SYSTEMACL, FLAG_USER, FLAG_VALUEDEFAULT, PARAMETER_FLAGKEY, PARAMETER_FLAGVALUE, PARAMETER_POSITIONALCMDKEY| Constructor and Description | 
|---|
CupCatArgumentTranslator()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected int[] | 
getPotentialArgs()
Gets the argument type a particular flag is expecting. 
 | 
protected String[] | 
getPotentialFlags()
Gets the potential flags that the 
 object might be expecting. 
 | 
protected void | 
handleFlag(String flagKey,
          String flagValue,
          CommandContext state,
          Hashtable tstate)
Handles a flags and arguments in the command line. 
 | 
protected void | 
initialize(CommandContext state,
          Object invoker,
          Hashtable tstate)
Initialize the argument translator. 
 | 
protected void | 
postParse(CommandContext state,
         Object invoker,
         Hashtable tState)
gets the object associated with the path 
 | 
handlePositional, resolveObjectparse, translateprotected final String FLAG_RENDERALL
protected void initialize(CommandContext state, Object invoker, Hashtable tstate) throws IfsException
initialize in class CupArgumentTranslatorstate - instance of CommandContextinvoker - invoker of this command; usually CupServerChanneltstate - hashtable used to store flagsIfsException - if the operation failsprotected void postParse(CommandContext state, Object invoker, Hashtable tState) throws IfsException
postParse in class CommandlineArgumentTranslatorIfsExceptionprotected String[] getPotentialFlags()
getPotentialFlags in class CupArgumentTranslatorprotected int[] getPotentialArgs()
getPotentialArgs in class CupArgumentTranslatorprotected void handleFlag(String flagKey, String flagValue, CommandContext state, Hashtable tstate) throws IfsException
handleFlag in class CupArgumentTranslatorflagKey - key used  to identify the flag in the command lineflagValue - value of the flagstate - instance of CommandContext objecttstate - hashtable which stores parametersIfsException - if the operation failsCopyright © 2025. All rights reserved.