|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FtpCmdParser
Parser and Container class for all registered FTP commands.
Method Summary | |
---|---|
FtpCmd |
createCommandByToken(java.lang.String token)
Returns the command instance corresponding to the passed token. |
java.lang.String |
findCommandToken(java.lang.String cmdString)
Extracts the command token from the passed command line. |
java.lang.String[] |
getCommandTokens()
Lists the known FTP commands. |
void |
setCommands(java.util.Map<java.lang.String,java.lang.String> map)
Registers the implemented FTP commands. |
Method Detail |
---|
void setCommands(java.util.Map<java.lang.String,java.lang.String> map)
map
- The commands.java.lang.String[] getCommandTokens()
java.lang.String findCommandToken(java.lang.String cmdString)
cmdString
- The command string.
FtpCmd createCommandByToken(java.lang.String token)
token
- The command token.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |