|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory com.zehon.ftp.ZehonFTPFileEntryParserFactory
public class ZehonFTPFileEntryParserFactory
Constructor Summary | |
---|---|
ZehonFTPFileEntryParserFactory()
|
Method Summary | |
---|---|
org.apache.commons.net.ftp.FTPFileEntryParser |
createFileEntryParser(org.apache.commons.net.ftp.FTPClientConfig config)
Implementation extracts a key from the supplied FTPClientConfig
parameter and creates an object implementing the
interface FTPFileEntryParser and uses the supplied configuration
to configure it. |
org.apache.commons.net.ftp.FTPFileEntryParser |
createFileEntryParser(java.lang.String key)
|
Methods inherited from class org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory |
---|
createMVSEntryParser, createNetwareFTPEntryParser, createNTFTPEntryParser, createOS2FTPEntryParser, createOS400FTPEntryParser, createUnixFTPEntryParser, createVMSVersioningFTPEntryParser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZehonFTPFileEntryParserFactory()
Method Detail |
---|
public org.apache.commons.net.ftp.FTPFileEntryParser createFileEntryParser(java.lang.String key)
createFileEntryParser
in interface org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory
createFileEntryParser
in class org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory
public org.apache.commons.net.ftp.FTPFileEntryParser createFileEntryParser(org.apache.commons.net.ftp.FTPClientConfig config) throws org.apache.commons.net.ftp.parser.ParserInitializationException
Implementation extracts a key from the supplied
FTPClientConfig
parameter and creates an object implementing the
interface FTPFileEntryParser and uses the supplied configuration
to configure it.
Note that this method will generally not be called in scenarios that call for autodetection of parser type but rather, for situations where the user knows that the server uses a non-default configuration and knows what that configuration is.
createFileEntryParser
in interface org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory
createFileEntryParser
in class org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory
config
- A FTPClientConfig
used to configure the parser created
org.apache.commons.net.ftp.parser.ParserInitializationException
- Thrown on any exception in instantiation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |