FTPTimestampParserImpl
public interface FTPTimestampParser
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
DEFAULT_RECENT_SDF |
the default recent date format.
|
static java.lang.String |
DEFAULT_SDF |
the default default date format.
|
Modifier and Type | Method | Description |
---|---|---|
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.