public interface FTPTimestampParser
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
DEFAULT_RECENT_SDF
the default recent date format.
|
static java.lang.String |
DEFAULT_SDF
the default default date format.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.Calendar |
parseTimestamp(java.lang.String timestampStr)
Parses the supplied datestamp parameter.
|
static final java.lang.String DEFAULT_SDF
static final java.lang.String DEFAULT_RECENT_SDF
java.util.Calendar parseTimestamp(java.lang.String timestampStr) throws java.text.ParseException
timestampStr
- - the timestamp portion of the FTP directory listing
to be parsedjava.util.Calendar
object initialized to the date
parsed by the parserjava.text.ParseException
- if none of the parser mechanisms belonging to
the implementor can parse the input.