|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.FTPFileFactory
public class 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 |
VMSFileParser |
getVMSParser()
Return a reference to the VMS parser being used. |
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 |
void |
setLocales(java.util.Locale[] locales)
Set the locales to try 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 final java.lang.String cvsId
| Constructor Detail |
|---|
public FTPFileFactory(java.lang.String system)
throws FTPException
system - SYST string
FTPExceptionpublic FTPFileFactory(FTPFileParser parser)
parser - the parser to use| Method Detail |
|---|
public VMSFileParser getVMSParser()
public void setLocale(java.util.Locale locale)
locale - locale to setpublic void setLocales(java.util.Locale[] locales)
locales - locales to try
public FTPFile[] parse(java.lang.String[] files)
throws java.text.ParseException
files - array of strings
java.text.ParseExceptionpublic java.lang.String getSystem()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||