|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FTPTimestampParser
This interface specifies the concept of parsing an FTP server's timestamp.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_RECENT_SDF
the default recent date format. |
static java.lang.String |
DEFAULT_SDF
the default default date format. |
Method Summary | |
---|---|
java.util.Calendar |
parseTimestamp(java.lang.String timestampStr)
Parses the supplied datestamp parameter. |
Field Detail |
---|
static final java.lang.String DEFAULT_SDF
static final java.lang.String DEFAULT_RECENT_SDF
Method Detail |
---|
java.util.Calendar parseTimestamp(java.lang.String timestampStr) throws java.text.ParseException
timestampStr
- - the timestamp portion of the FTP directory listing
to be parsed
java.util.Calendar
object initialized to the date
parsed by the parser
java.text.ParseException
- if none of the parser mechanisms belonging to
the implementor can parse the input.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |