|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.enterprisedt.net.ftp.FTPFileFactory
Factory for creating FTPFile objects
Field Summary | |
static java.lang.String |
cvsId
Revision control id |
Constructor Summary | |
FTPFileFactory(FTPFileParser parser)
Constructor. |
|
FTPFileFactory(java.lang.String system)
Constructor |
Method Summary | |
java.lang.String |
getSystem()
Get the SYST string |
FTPFile[] |
parse(java.lang.String[] files)
Parse an array of raw file information returned from the FTP server |
void |
setLocale(java.util.Locale locale)
Set the locale for date parsing of listings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String cvsId
Constructor Detail |
public FTPFileFactory(java.lang.String system) throws FTPException
system
- SYST stringpublic FTPFileFactory(FTPFileParser parser)
parser
- the parser to useMethod Detail |
public void setLocale(java.util.Locale locale)
locale
- locale to setpublic FTPFile[] parse(java.lang.String[] files) throws java.text.ParseException
files
- array of strings
java.text.ParseException
public java.lang.String getSystem()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |