| |
|
| java.lang.Object com.enterprisedt.net.ftp.FTPFileFactory
FTPFileFactory | public class FTPFileFactory (Code) | | Factory for creating FTPFile objects
author: Bruce Blackshaw version: $Revision: 1.16 $ |
UNIX_STR | final static String UNIX_STR(Code) | | UNIX server comparison string
|
VMS_STR | final static String VMS_STR(Code) | | VMS server comparison string
|
WINDOWS_STR | final static String WINDOWS_STR(Code) | | Windows server comparison string
|
cvsId | final public static String cvsId(Code) | | Revision control id
|
FTPFileFactory | public FTPFileFactory(String system) throws FTPException(Code) | | Constructor
Parameters: system - SYST string |
FTPFileFactory | public FTPFileFactory(FTPFileParser parser)(Code) | | Constructor. User supplied parser. Note that parser
rotation (in case of a ParseException) is disabled if
a parser is explicitly supplied
Parameters: parser - the parser to use |
getSystem | public String getSystem()(Code) | | Get the SYST string
the system string. |
getVMSParser | public VMSFileParser getVMSParser()(Code) | | Return a reference to the VMS parser being used.
This allows the user to set VMS-specific settings on
the parser.
VMSFileParser object |
parse | public FTPFile[] parse(String[] files) throws ParseException(Code) | | Parse an array of raw file information returned from the
FTP server
Parameters: files - array of strings array of FTPFile objects |
setLocale | public void setLocale(Locale locale)(Code) | | Set the locale for date parsing of listings
Parameters: locale - locale to set |
setLocales | public void setLocales(Locale[] locales)(Code) | | Set the locales to try for date parsing of listings
Parameters: locales - locales to try |
|
|
|