java.lang.Object | +--org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactoryAll Implemented Interfaces:
org.apache.commons.net.ftp.FTPClient.listFiles
org.apache.commons.net.ftp.FTPClient.setParserFactory
createFileEntryParser(String key) This default implementation of the FTPFileEntryParserFactory interface works according to the following logic: First it attempts to interpret the supplied key as a fully qualified classname of a class implementing the FTPFileEntryParser interface. | |
public FTPFileEntryParser createFileEntryParser(String key)
key is not recognized as a fully qualified
classname known to the system, this method will then attempt
to see whether it contains a string identifying one of
the known parsers. This comparison is case-insensitive.
The intent here is where possible, to select as keys strings
which are returned by the SYST command on the systems which
the corresponding parser successfully parses. This enables
this factory to be used in the auto-detection system.
ParserInitializationException - thrown if for any reason the factory cannot resolve
the supplied key into an FTPFileEntryParser.FTPFileEntryParser
public FTPFileEntryParser createNTFTPEntryParser()
public FTPFileEntryParser createOS2FTPEntryParser()
public FTPFileEntryParser createOS400FTPEntryParser()
public FTPFileEntryParser createUnixFTPEntryParser()
public FTPFileEntryParser createVMSVersioningFTPEntryParser()