|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface to be implemented by classes responsible for parsing directory listings returned by various FTP servers.
| Method Summary | |
java.util.Date |
getDateTime(FtpFile file)
|
java.util.Date |
getFileDate(java.lang.String date)
Parses a string which contains a date a returns a date object |
java.util.Enumeration |
parse(java.io.BufferedReader in)
Method for parsing a directory listing returned by FTP server. |
| Method Detail |
public java.util.Enumeration parse(java.io.BufferedReader in)
throws java.io.IOException
in - a BufferedReader passed in by Ftp class when invoking Ftp#getDirListing method
Enumeration of FtpFile
java.io.IOException - if an I/O or FTP related error occursFtpFile,
Ftp.getDirListing(java.lang.String)
public java.util.Date getFileDate(java.lang.String date)
throws java.text.ParseException
date - The string will be parsed
java.text.ParseException - if an error ocurrs
public java.util.Date getDateTime(FtpFile file)
throws java.text.ParseException
java.text.ParseException
|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||