org.apache.commons.net.ftp.parser
public interface FTPTimestampParser
Since: 1.4
| Field Summary | |
|---|---|
| static String | DEFAULT_RECENT_SDF
the default recent date format. |
| static String | DEFAULT_SDF
the default default date format. |
| Method Summary | |
|---|---|
| Calendar | parseTimestamp(String timestampStr)
Parses the supplied datestamp parameter. |
Parameters: timestampStr - the timestamp portion of the FTP directory listing to be parsed
Returns: a java.util.Calendar object initialized to the date
parsed by the parser
Throws: ParseException if none of the parser mechanisms belonging to the implementor can parse the input.