Interface FTPTimestampParser
- All Known Implementing Classes:
- FTPTimestampParserImpl
public interface FTPTimestampParser
This interface specifies the concept of parsing an FTP server's timestamp.
- Since:
- 1.4
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionparseTimestamp(String timestampStr) Parses the supplied datestamp parameter.
- 
Field Details- 
DEFAULT_SDFthe default default date format.- See Also:
 
- 
DEFAULT_RECENT_SDFthe default recent date format.- See Also:
 
 
- 
- 
Method Details- 
parseTimestampParses the supplied datestamp parameter. This parameter typically would have been pulled from a longer FTP listing via the regular expression mechanism- Parameters:
- timestampStr- - the timestamp portion of the FTP directory listing to be parsed
- Returns:
- a java.util.Calendarobject initialized to the date parsed by the parser
- Throws:
- ParseException- if none of the parser mechanisms belonging to the implementor can parse the input.
 
 
-