public interface FTPTimestampParser
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_RECENT_SDF
the default recent date format.
|
static String |
DEFAULT_SDF
the default default date format.
|
Modifier and Type | Method and Description |
---|---|
Calendar |
parseTimestamp(String timestampStr)
Parses the supplied datestamp parameter.
|
static final String DEFAULT_SDF
static final String DEFAULT_RECENT_SDF
Calendar parseTimestamp(String timestampStr) throws ParseException
timestampStr
- - the timestamp portion of the FTP directory listing
to be parsedjava.util.Calendar
object initialized to the date
parsed by the parserParseException
- if none of the parser mechanisms belonging to
the implementor can parse the input.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.