public class CupMvArgumentTranslator extends CommandlineArgumentTranslator
CMDKEY| Constructor and Description |
|---|
CupMvArgumentTranslator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handlePositional(int pos,
String positional,
CommandContext state,
Hashtable tState)
Handles the positional arguments that cup uses during the Mv command.
|
protected void |
initialize(CommandContext state,
Object invoker,
Hashtable tState)
Initialize for this translator.
|
protected void |
postParse(CommandContext state,
Object invoker,
Hashtable tState)
Converts the source and destination paths provided in arguments
to object instances.
|
getPotentialArgs, getPotentialFlags, handleFlag, parse, translateprotected void initialize(CommandContext state, Object invoker, Hashtable tState) throws IfsException
initialize in class CommandlineArgumentTranslatorstate - instance of command contextinvoker - invoker of the command; Generally a subclass of IfsServerChannel.IfsException - if the operation fails.protected void postParse(CommandContext state, Object invoker, Hashtable tState) throws IfsException
postParse in class CommandlineArgumentTranslatorstate - instance of command contextinvoker - invoker of the command; Generally a subclass of IfsServerChannel.IfsException - if the operation fails.protected void handlePositional(int pos,
String positional,
CommandContext state,
Hashtable tState)
throws IfsException
handlePositional in class CommandlineArgumentTranslatorpos - position of the argumentpositional - string corresponding to the positionstate - instance of CommandContextIfsException - if the operation fails.Copyright © 2025. All rights reserved.