|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hermesftp.parser.impl.FtpCmdParserImpl
public class FtpCmdParserImpl
Default implementation of a command container.
Constructor Summary | |
---|---|
FtpCmdParserImpl()
Constructor. |
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 |
setBeanFactory(org.springframework.beans.factory.BeanFactory f)
|
void |
setCommands(java.util.Map<java.lang.String,java.lang.String> map)
Registers the implemented FTP commands. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FtpCmdParserImpl()
Method Detail |
---|
public void setCommands(java.util.Map<java.lang.String,java.lang.String> map)
setCommands
in interface FtpCmdParser
map
- The commands.public java.lang.String findCommandToken(java.lang.String cmdString)
findCommandToken
in interface FtpCmdParser
cmdString
- The command string.
public FtpCmd createCommandByToken(java.lang.String token)
createCommandByToken
in interface FtpCmdParser
token
- The command token.
public java.lang.String[] getCommandTokens()
getCommandTokens
in interface FtpCmdParser
public void setBeanFactory(org.springframework.beans.factory.BeanFactory f)
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |